repo.or.cz
/
guilt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
graph: Remove graph cache after command terminates
[guilt.git]
/
uninstall
blob
54c6d26afd2ce68917cae60a440f558c33005ab2
1
#!/bin/bash
2
#
3
# Copyright (c) 2007 Nur Hussein <hussein@cs.usm.my>
4
#
5
6
if
[
$#
-lt
2
];
then
7
echo
"Usage:
$0
<prefix> <file1> <file2> ..."
>&
2
8
exit
1
9
fi
10
11
PRE
=
$1
12
13
shift
14
15
for
x
in
"$@"
16
do
17
rm
"
$PRE
/
$x
"
18
done