[PATCH] Make the test more shell generic and fix missing Solaris find option
[git.git] / cmd-rename.sh
index ad3285b..f90b6ba 100755 (executable)
@@ -1,12 +1,15 @@
 #!/bin/sh
+#
+# This is for people who installed previous GIT by hand and would want
+# to remove the backward compatible links:
+#
+# ./cmd-rename.sh $bindir
+#
 d="$1"
 test -d "$d" || exit
 while read old new
 do
        rm -f "$d/$old"
-       if [ -x "$d/$new" ]; then
-       ln -s "$new" "$d/$old"
-       fi
 done <<\EOF
 git-add-script git-add
 git-archimport-script  git-archimport