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 (2014/09 #02)
[alt-git.git]
/
RelClean
blob
1ba6cf78739a153d9bc7123fb58890d7f42beb98
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-
$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
18
19