aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deptest.sh
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-11-03 15:18:53 +0000
committerMichael Büsch <mb@bu3sch.de>2010-11-03 15:18:53 +0000
commit208df9da51b8ff30c79828d50c934ada4f580764 (patch)
treeb3b3dd5c6cfd61bdaddd7d6717a1ca8bd66b8775 /scripts/deptest.sh
parenta1b02b7ee0352f6a67391395451a5c524cd2e1ae (diff)
downloadupstream-208df9da51b8ff30c79828d50c934ada4f580764.tar.gz
upstream-208df9da51b8ff30c79828d50c934ada4f580764.tar.bz2
upstream-208df9da51b8ff30c79828d50c934ada4f580764.zip
deptest: --force also overrides blacklist stamps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23827 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/deptest.sh')
-rwxr-xr-xscripts/deptest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/deptest.sh b/scripts/deptest.sh
index 4a3fd78ea3..953cdbf734 100755
--- a/scripts/deptest.sh
+++ b/scripts/deptest.sh
@@ -36,7 +36,7 @@ usage()
echo "OPTIONS:"
echo " --lean Run a lean test. Do not clean the build directory for each"
echo " package test."
- echo " --force Force a test, even if a success stamp is available"
+ echo " --force Force a test, even if a success/blacklist stamp is available"
echo
echo "PACKAGES are packages to test. If not specified, all installed packages"
echo "will be tested."
@@ -61,7 +61,7 @@ test_package() # $1=pkgname
echo "Package $pkg is not selected"
return
}
- [ -f "$STAMP_BLACKLIST" ] && {
+ [ -f "$STAMP_BLACKLIST" -a $force -eq 0 ] && {
echo "Package $pkg is blacklisted"
return
}