From: Michael Büsch Date: Wed, 3 Nov 2010 15:18:53 +0000 (+0000) Subject: deptest: --force also overrides blacklist stamps X-Git-Tag: reboot~18500 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=55081c6a197789823d03f6c16a47312407c611da;p=openwrt%2Fopenwrt.git deptest: --force also overrides blacklist stamps SVN-Revision: 23827 --- 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 }