[Pkg-cmake-commits] [cmake] 06/08: Quote paths in shell scripts.

Felix Geyer fgeyer at moszumanska.debian.org
Sun Jul 10 09:26:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

fgeyer pushed a commit to branch experimental
in repository cmake.

commit 37d857fb9e51a34c5e7b55c58f42dab7047640bf
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sun Jul 10 10:47:27 2016 +0200

    Quote paths in shell scripts.
---
 debian/tests/testsuite       | 4 ++--
 debian/tests/testsuite-ninja | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index 086d607..0c2b498 100755
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -4,8 +4,8 @@ set -ev
 
 SRCDIR="$(pwd)"
 
-cd $ADTTMP
+cd "$ADTTMP"
 
-cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin $SRCDIR
+cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin "$SRCDIR"
 make VERBOSE=1
 CTEST_OUTPUT_ON_FAILURE=1 make test ARGS="-E CTestTestUpload -E BootstrapTest"
diff --git a/debian/tests/testsuite-ninja b/debian/tests/testsuite-ninja
index 902f874..5b9181d 100755
--- a/debian/tests/testsuite-ninja
+++ b/debian/tests/testsuite-ninja
@@ -4,8 +4,8 @@ set -ev
 
 SRCDIR="$(pwd)"
 
-cd $ADTTMP
+cd "$ADTTMP"
 
-cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin -GNinja $SRCDIR
+cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin -GNinja "$SRCDIR"
 ninja -v
 CTEST_OUTPUT_ON_FAILURE=1 ctest -E CTestTestUpload -E BootstrapTest

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cmake/cmake.git



More information about the Pkg-cmake-commits mailing list