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