]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-407511-fail-invalid-default-release
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-bug-407511-fail-invalid-default-release
index 3d3b0ada308b3b3938b98b218a6e81bd8cdf697e..0e1b5ef833d95b6e578e43589b11c34614011acf 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture 'i386'
 
 setupenvironment
 configarchitecture 'i386'