]> git.saurik.com Git - apt.git/blobdiff - test/integration/create-test-data
apt-key: change to / before find to satisfy its CWD needs
[apt.git] / test / integration / create-test-data
index 581b62910d01ac283287003c67e7a43fa1661a0a..7040aaed7c532c36dcfbbe4913e6755c83b3073e 100755 (executable)
@@ -6,8 +6,8 @@ if [ -z "$1" -o -z "$2" ]; then
        exit 1
 fi
 
-local TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 BUILDDIRECTORY="${TESTDIR}/../../build/bin"
 
 GENERATE=$1