summaryrefslogtreecommitdiff
path: root/source4/script/uninstalltorture.sh
blob: 0c6e4ec9917fca8d601e4f78887b75a59a7bd737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

TORTUREDIR=$1
shift
shift

for p in $*; do
 p2=`dirname $p`
 base=`basename $p`
 DESTDIR=$TORTUREDIR/`basename $p2`
 echo Removing $DESTDIR/$base
 rm -f $p $DESTDIR/
done

exit 0