]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-method-rred
Fix crash with empty architecture list
[apt.git] / test / integration / test-method-rred
index a8de3ea285e9986f135b9205c234b443d5a56d4c..721aa5cdc632e2f73107f1e1c7a34a3fac97ee4a 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'