NO_IPV6 support for git daemon
[gitweb.git] / cmd-rename.sh
index ad3285b7977b7dd1a7f152652004b2731e75b8cb..f90b6babd4f7a8dd1f747b44abf41891745c8031 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