From: lottaviano Date: Mon, 13 Sep 2010 16:36:54 +0000 (+0000) Subject: Fix wizard rcc invocation for paths with spaces inside. X-Git-Tag: 2.6.0~166 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4c61653db84fe75fc2bb8f5af9d1ac0343068b4c;p=bertos.git Fix wizard rcc invocation for paths with spaces inside. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4235 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/test/run_tests.sh b/test/run_tests.sh index 2c6a7ae8..ea88cb05 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -13,7 +13,7 @@ # 2 - build warnings # 3 - execution output # 4 - build commands -VERBOSE=${VERBOSE:-1} +VERBOSE=${VERBOSE:-3} CC=gcc #FIXME: -Ibertos/emul should not be needed @@ -24,7 +24,7 @@ CFLAGS="-W -Wall -Wextra -Wundef -Wpointer-arith -Wcast-qual -Wcast-align -Wwrit CXX=g++ CXXFLAGS="$CFLAGS" -TESTS=${TESTS:-`find . \ +TESTS?=${TESTS:-`find . \ \( -name .svn -prune -o -name .git -prune -o -name .hg -prune \) \ -o -name "*_test.c" -print` } diff --git a/wizard/bertos.py b/wizard/bertos.py index 93f451c5..3aa845f3 100755 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -121,7 +121,7 @@ def main(): datadir = DATA_DIR qrc, rcc = os.path.join(datadir, 'bertos.qrc'), os.path.join(datadir, 'bertos.rcc') if not (hasattr(sys, "frozen") and sys.frozen) and newer(qrc, rcc): - os.system("rcc -binary %s -o %s" %(qrc, rcc)) + os.system("rcc -binary \"%s\" -o \"%s\"" %(qrc, rcc)) QResource.registerResource(rcc) if len(sys.argv) == 3 and sys.argv[1] == "--edit": editProject(os.path.abspath(sys.argv[2]))