]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-get-source-authenticated
tests: try to support spaces in TMPDIR
[apt.git] / test / integration / test-apt-get-source-authenticated
index da63f7cb39be62970fe4815424dcb532b336e020..720d2a454aa73b142d597efa71566cf2ff7eefec 100755 (executable)
@@ -17,8 +17,8 @@ buildsimplenativepackage 'foo' 'all' '2.0'
 
 setupaptarchive --no-update
 
-APTARCHIVE=$(readlink -f ./aptarchive)
-rm -f $APTARCHIVE/dists/unstable/*Release*
+APTARCHIVE="$(readlink -f ./aptarchive)"
+find "$APTARCHIVE/dists/unstable" -name '*Release*' -delete
 
 # update without authenticated InRelease file
 testwarning aptget update --allow-insecure-repositories