build.py base_path
This commit is contained in:
parent
735ddc9d4a
commit
d8f089d0b7
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@ def write_path(file):
|
|||
os.makedirs(path)
|
||||
|
||||
# doesn't work here
|
||||
# os.chdir(os.path.dirname(__file__))
|
||||
base_path = os.path.dirname(__file__)
|
||||
if base_path:
|
||||
os.chdir(base_path)
|
||||
|
||||
source_path = '../../source/'
|
||||
build_path = '../../build/'
|
||||
|
|
Loading…
Reference in a new issue