update paths in build scripts

This commit is contained in:
Thomas Fussell 2015-10-14 13:29:21 -04:00
parent c1b7d7d98c
commit 44ebfd96a2
3 changed files with 4 additions and 4 deletions

View File

@ -3,5 +3,5 @@
import os
import subprocess
os.chdir(os.path.dirname(os.path.abspath(__file__)) + '/build-scripts')
os.chdir(os.path.dirname(os.path.abspath(__file__)))
subprocess.call(['sh', 'build-osx.sh', 'USE_CMAKE=1'])

View File

@ -4,7 +4,7 @@ import os
import shutil
os.chdir(os.path.dirname(os.path.abspath(__file__)))
dirs = ['./bin', './lib', './build-scripts/cmake/build', './build-scripts/genie/xcode4']
dirs = ['../bin', '../lib', './cmake/build', './genie/xcode4']
for dir in dirs:
if os.path.isdir(dir): shutil.rmtree(dir)

View File

@ -6,6 +6,6 @@ import subprocess
os.chdir(os.path.dirname(os.path.abspath(__file__)))
subprocess.call('./build')
if os.path.isdir('./bin') and os.path.isfile('./bin/xlnt.test'):
os.chdir('./bin')
if os.path.isdir('../bin') and os.path.isfile('../bin/xlnt.test'):
os.chdir('../bin')
subprocess.call(['./xlnt.test'])