]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-738785-switch-protocol
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-bug-738785-switch-protocol
index 0e84f55d90f5111f79f3fd63f148c9f20ff010cb..e7d4a67447332928eba4c5fd5f1d6dbab49c44cc 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 "i386"