build.py base_path

This commit is contained in:
j 2011-04-25 13:19:01 +02:00
parent 735ddc9d4a
commit d8f089d0b7

View file

@ -44,7 +44,9 @@ def write_path(file):
os.makedirs(path) os.makedirs(path)
# doesn't work here # 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/' source_path = '../../source/'
build_path = '../../build/' build_path = '../../build/'