1
0
Fork 0
forked from len0rd/rockbox

Make checkwps compile scripts directory-independent

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19900 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-02-02 00:09:35 +00:00
parent ee7f12644c
commit 7c2ecc338a
2 changed files with 9 additions and 5 deletions

View file

@ -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
)

View file

@ -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
)