소스 검색

app.py: fix bin and cache dir paths

Shiv Tyagi 1 년 전
부모
커밋
730abbcdf3
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      web/app.py

+ 3 - 3
web/app.py

@@ -132,9 +132,9 @@ def run_build(task, tmpdir, outdir, logpath):
         log.flush()
         # setup PATH to point at our compiler
         env = os.environ.copy()
-        bindir1 = os.path.abspath(os.path.join(appdir, "..", "bin"))
-        bindir2 = os.path.abspath(os.path.join(appdir, "..", "gcc", "bin"))
-        cachedir = os.path.abspath(os.path.join(appdir, "..", "cache"))
+        bindir1 = os.path.abspath(os.path.join(appdir, "..", "..", "bin"))
+        bindir2 = os.path.abspath(os.path.join(appdir, "..", "..", "gcc", "bin"))
+        cachedir = os.path.abspath(os.path.join(appdir, "..", "..", "cache"))
 
         env["PATH"] = bindir1 + ":" + bindir2 + ":" + env["PATH"]
         env['CCACHE_DIR'] = cachedir