summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/checkwps/buildall.sh8
-rwxr-xr-xtools/checkwps/cleanall.sh6
2 files changed, 9 insertions, 5 deletions
diff --git a/tools/checkwps/buildall.sh b/tools/checkwps/buildall.sh
index 23fc7ff7f4..4a6f11a419 100755
--- a/tools/checkwps/buildall.sh
+++ b/tools/checkwps/buildall.sh
@@ -1,8 +1,10 @@
#!/bin/sh
-cat targets.txt | (
+rootdir=`dirname $0`
+
+cat $rootdir/targets.txt | (
while read target model
do
- rm -f checkwps.$model
- make MODEL=$model TARGET=$target checkwps
+ rm -f $rootdir/checkwps.$model
+ make -s -C $rootdir MODEL=$model TARGET=$target checkwps
done
)
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
)