summaryrefslogtreecommitdiff
path: root/test/bin/locate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/bin/locate.sh')
-rwxr-xr-xtest/bin/locate.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bin/locate.sh b/test/bin/locate.sh
index dad0bd49f..19c3a5fda 100755
--- a/test/bin/locate.sh
+++ b/test/bin/locate.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-[ -e bin.sys ] || mkdir bin.sys
+[ -d bin.sys ] || mkdir bin.sys
cd bin.sys
while read d
@@ -13,6 +13,7 @@ do
ln -s $d/$1 .
shift
done
+ exit 0
fi
done <<-HERE
/bin