summaryrefslogtreecommitdiff
path: root/test/integration/test-different-methods-for-same-source
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-different-methods-for-same-source')
-rwxr-xr-xtest/integration/test-different-methods-for-same-source2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-different-methods-for-same-source b/test/integration/test-different-methods-for-same-source
index 7b78841c6..6b3f796b1 100755
--- a/test/integration/test-different-methods-for-same-source
+++ b/test/integration/test-different-methods-for-same-source
@@ -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"