From: Bernhard Millauer Date: Tue, 13 May 2014 23:07:26 +0000 (+0200) Subject: The source_root was wrong computed X-Git-Tag: v0.12.5~18^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=75fcafa013702329d365cda3fdafac5bd264aed7;p=electron.git The source_root was wrong computed Using 'SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))' leads to an empty string if the path is relative. --- diff --git a/script/build.py b/script/build.py index ce04c862..42fc24b6 100755 --- a/script/build.py +++ b/script/build.py @@ -7,7 +7,7 @@ import sys CONFIGURATIONS = ['Release', 'Debug'] -SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__)) +SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) def main():