From 75fcafa013702329d365cda3fdafac5bd264aed7 Mon Sep 17 00:00:00 2001 From: Bernhard Millauer Date: Wed, 14 May 2014 01:07:26 +0200 Subject: [PATCH] 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. --- script/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build.py b/script/build.py index ce04c8621ec4..42fc24b6d2c8 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():