소스 검색

Merge pull request #719 from mkroehnert/amberc

amberc-cli: the path for amber_dir has changed
Nicolas Petton 10 년 전
부모
커밋
26ec6cb9d8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cli/support/amberc-cli.js

+ 1 - 1
cli/support/amberc-cli.js

@@ -16,7 +16,7 @@ if (1 > parameters.length) {
 
 // Get Amber root directory from the location of this script so that
 // we can find the st and js directories etc.
-var amber_dir = path.normalize(path.join(path.dirname(process.argv[1]), '..'));
+var amber_dir = path.normalize(path.join(path.dirname(process.argv[1]), '..', '..'));
 
 var compiler = new amberc.Compiler(amber_dir);