diff options
Diffstat (limited to 'tools/checkwps/cleanall.sh')
-rwxr-xr-x | tools/checkwps/cleanall.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/checkwps/cleanall.sh b/tools/checkwps/cleanall.sh index 860c3afae2..19a3aec6fb 100755 --- a/tools/checkwps/cleanall.sh +++ b/tools/checkwps/cleanall.sh | |||
@@ -1,9 +1,14 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | rootdir=`dirname $0` | 2 | rootdir=`dirname $0` |
3 | outdir=$rootdir/output | ||
3 | 4 | ||
5 | make clean # make clean the build dir first | ||
6 | rm -f autoconf.h | ||
7 | rm -f Makefile | ||
4 | cat $rootdir/targets.txt | ( | 8 | cat $rootdir/targets.txt | ( |
5 | while read target model | 9 | while read target model |
6 | do | 10 | do |
7 | rm -f checkwps.$model | 11 | rm -f $outdir/checkwps.$model # then delete any output/checkwps.* |
12 | rmdir $outdir > /dev/null 2>&1 | ||
8 | done | 13 | done |
9 | ) | 14 | ) |