]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-acquire-same-repository-multiple-times
fix M-A:foreign provides creation for unknown archs
[apt.git] / test / integration / test-acquire-same-repository-multiple-times
index eea81fd69e34b94752bf386ae978e271211d2264..c8372bd41b4156622382654c0da7a52975dc44ff 100755 (executable)
@@ -1,13 +1,13 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture 'amd64'
 
 TESTFILE="$TESTDIR/framework"
-cp $TESTFILE aptarchive/foo
+cp "$TESTFILE" aptarchive/foo
 APTARCHIVE="$(readlink -f ./aptarchive)"
 
 getcodenamefromsuite() { echo "jessie"; }
@@ -37,7 +37,7 @@ while read line; do
        if [ -z "\$line" ]; then
                sleep 0.5
        fi
-done | "$OLDMETHODS/\${0##*/}"
+done | '$OLDMETHODS/'"\${0##*/}"
 EOF
 chmod +x "${NEWMETHODS}/file"
 ln -s "${NEWMETHODS}/file" "${NEWMETHODS}/http"