]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-590041-prefer-non-virtual-packages
eipp: make no difference between remove & purge
[apt.git] / test / integration / test-bug-590041-prefer-non-virtual-packages
index 4e2a5142c9cbba0cc025ec252df533f44fc144e0..1b1e3aa4f283bce2c2e2ff64986f7e2831f27c27 100755 (executable)
@@ -1,7 +1,8 @@
 #!/bin/sh
 set -e
 
 #!/bin/sh
 set -e
 
-. $(readlink -f $(dirname $0))/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture 'i386' 'armel'
 
 setupenvironment
 configarchitecture 'i386' 'armel'
 
@@ -38,7 +39,7 @@ Section: oldlibs
 Size: 44168
 "
 
 Size: 44168
 "
 
-cat <<-EOF >aptarchive/Packages
+cat >aptarchive/Packages <<EOF
 $pkglibc6
 $pkglibdb1
 EOF
 $pkglibc6
 $pkglibdb1
 EOF