What's cooking (2014/09 #02)
[alt-git.git] / RelClean
blob1ba6cf78739a153d9bc7123fb58890d7f42beb98
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-$v.tar.sig &&
12 $rm git-htmldocs-$v.tar.gz &&
13 $rm git-htmldocs-$v.tar.sig &&
14 $rm git-manpages-$v.tar.gz &&
15 $rm git-manpages-$v.tar.sig &&
16 $rm "$s"
17 done