From 1bc3c602047a0e7417b74a67485bcce7f8379fb0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 10 Jan 2016 13:36:55 +0100 Subject: reproducible: make reverting blacklists work --- bin/reproducible_blacklist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_blacklist.sh') diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh index d0f1d7a1..a75bcd1a 100755 --- a/bin/reproducible_blacklist.sh +++ b/bin/reproducible_blacklist.sh @@ -94,7 +94,7 @@ if [ $TOTAL -lt 1 ] ; then fi # main -if [ "$1" != "--revert" ] ; then +if ! $REVERT ; then blacklist_packages else revert_blacklisted_packages @@ -115,6 +115,6 @@ echo echo "Probably edit notes.git/packages.yml now and enter/remove reasons for blacklisting there." # finally, let's re-schedule them if the blacklisted was reverted -if [ "$1" = "--revert" ] ; then +if $REVERT ; then /srv/jenkins/bin/reproducible_schedule_on_demand.sh -s $SUITE -a $ARCH $PACKAGES fi -- cgit v1.2.3-54-g00ecf