X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=cmd-rename.sh;h=f90b6babd4f7a8dd1f747b44abf41891745c8031;hb=e8f71fce3720016d1e9ae3070a8774c19888dc59;hp=ada33fb51d13999319f438db3f8437713330a9a3;hpb=8ac93bc98f5e868e890e1a740df9f0c6513189c8;p=git.git diff --git a/cmd-rename.sh b/cmd-rename.sh index ada33fb5..f90b6bab 100755 --- a/cmd-rename.sh +++ b/cmd-rename.sh @@ -1,10 +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" - ln -s "$new" "$d/$old" done <<\EOF git-add-script git-add git-archimport-script git-archimport