tidying
[exim.git] / test / bin / locate.sh
index dad0bd49fccf1885e174a50cf5a1690941e6ae88..19c3a5fda99e451999c1ec3748adef8b13c7877a 100755 (executable)
@@ -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