]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-different-methods-for-same-source
use the same redirection handling for http and https
[apt.git] / test / integration / test-different-methods-for-same-source
index 7b78841c69ec9ab2b6e8dad20145f2c4054dcaa2..6b3f796b179d7078eefc9bf841951b8fe0d1aeab 100755 (executable)
@@ -17,7 +17,7 @@ rm "$NEWMETHODS"
 mkdir "$NEWMETHODS"
 backupIFS="$IFS"
 IFS="$(printf "\n\b")"
-for METH in $(find "$OLDMETHODS" ! -type d); do
+for METH in $(find "$OLDMETHODS" -maxdepth 1 ! -type d); do
        ln -s "$OLDMETHODS/$(basename "$METH")" "$NEWMETHODS"
 done
 IFS="$backupIFS"