summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/cleanall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checkwps/cleanall.sh')
-rwxr-xr-xtools/checkwps/cleanall.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/checkwps/cleanall.sh b/tools/checkwps/cleanall.sh
index 6cd1a90676..8310878fd5 100755
--- a/tools/checkwps/cleanall.sh
+++ b/tools/checkwps/cleanall.sh
@@ -1,7 +1,9 @@
#!/bin/sh
-cat targets.txt | (
+rootdir=`dirname $0`
+
+cat $rootdir/targets.txt | (
while read target model
do
- rm -f checkwps.$model
+ rm -f $rootdir/checkwps.$model
done
)