]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-ftparchive-cachedb
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-apt-ftparchive-cachedb
index 889e45cbec1d977d3b2df970d1bc31357827c605..1a06ff343dd2ab9dce1a09a91b53341c42903add 100755 (executable)
@@ -22,8 +22,8 @@ usr/share/doc/foo/copyright                               others/foo"
 #
 # main()
 #
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture 'i386'