]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-cache
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-apt-cache
index f5bdf187ab9a7177811ec58e0f30c44e460c6820..9ff8ea724b3559df9675aa44f24e8c043d547f4d 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
 configarchitecture 'amd64' 'i386'