Browse Source

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.
Bernhard Millauer 11 years ago
parent
commit
75fcafa013
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/build.py

+ 1 - 1
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():