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
guilt: replace "echo && return 1" with die
[guilt.git]
/
uninstall
blob
9c8a3b74bf3369e0da492406d7008b22da697cc0
1
#!/bin/sh
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
(
cd
$PRE
;
rm
"$@"
)