diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-03 15:18:53 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-03 15:18:53 +0000 |
commit | c588a703feb2241e803da3db71f685b57b408102 (patch) | |
tree | b3b3dd5c6cfd61bdaddd7d6717a1ca8bd66b8775 | |
parent | e1fe0dfb0cd882eafabcca3fc72675fb8ae744d5 (diff) |
deptest: --force also overrides blacklist stamps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23827 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | scripts/deptest.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/deptest.sh b/scripts/deptest.sh index 4a3fd78ea..953cdbf73 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 } |