What's cooking (2012/12 #01)
[alt-git.git] / RelClean
blob786ed07c3a1afb087d14ce778ec94bf4ae7ef62d
1 #!/bin/sh
3 rm="rm -f -v"
4 case "$1" in -n) rm="echo # rm" ;; esac
6 for s in git-*.sign
7 do
8 test -f "$s" &&
9 v=$(expr "$s" : '^git-\(.*\)\.sign$') &&
10 $rm git-$v.tar.gz &&
11 $rm git-htmldocs-$v.tar.gz &&
12 $rm git-manpages-$v.tar.gz &&
13 $rm "$s"
14 done