From 44ebfd96a226f7eb810c9e8a01961a95ea15ccf4 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Wed, 14 Oct 2015 13:29:21 -0400 Subject: [PATCH] update paths in build scripts --- build/build | 2 +- build/clean | 2 +- build/test | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/build b/build/build index fc57f778..945e0961 100755 --- a/build/build +++ b/build/build @@ -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']) diff --git a/build/clean b/build/clean index 6de4badb..7d89a43a 100755 --- a/build/clean +++ b/build/clean @@ -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) diff --git a/build/test b/build/test index da36d2d3..651b687a 100755 --- a/build/test +++ b/build/test @@ -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'])