]> git.saurik.com Git - apt.git/blobdiff - test/integration/header-compilation
test: Pass -maxdepth 1 when running find in methods dir
[apt.git] / test / integration / header-compilation
index 634504b710bf8c526471f040319d8a7635e6f992..33e0a5ce672f8249392b9b7b24f59541b8f72e56 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 
 (for i in $TESTDIR/../../build/include/apt-pkg/*.h; do echo "#include \"$i\""; done) > include.h