]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-translation-has-no-packages
tests: try to support spaces in TMPDIR
[apt.git] / test / integration / test-apt-translation-has-no-packages
index fec525568317a1d739ba594d13129ef63d8478ca..4c57623b14bf581570929e7f0a6f5cad23e8f0fb 100755 (executable)
@@ -24,11 +24,11 @@ fi
 buildsimplenativepackage 'foo' 'all' '1.0'
 setupaptarchive
 
-APTARCHIVE=$(readlink -f ./aptarchive)
+APTARCHIVE="$(readlink -f ./aptarchive)"
 
 # corrupt the Translation-en file to look like a regular Packages file
 rm rootdir/var/cache/apt/*.bin
-cp $APTARCHIVE/dists/unstable/main/binary-amd64/Packages \
+cp "$APTARCHIVE/dists/unstable/main/binary-amd64/Packages" \
    rootdir/var/lib/apt/lists/*Translation-en
 
 # ensure that there is no Version for the package foo generated out of