repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
What's cooking (2012/12 #01)
[alt-git.git]
/
RelClean
blob
786ed07c3a1afb087d14ce778ec94bf4ae7ef62d
1
#!/bin/sh
2
3
rm
=
"rm -f -v"
4
case
"
$1
"
in
-n
)
rm
=
"echo # rm"
;;
esac
5
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
15
16