diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-10 13:36:55 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-10 13:36:55 +0100 |
commit | 1bc3c602047a0e7417b74a67485bcce7f8379fb0 (patch) | |
tree | 0fa3839c3e0ea788de963f3c2d2d271b3cf3a7b3 | |
parent | 295b825c2a9ea76c372185e86b553fdfc731b385 (diff) | |
download | jenkins.debian.net-1bc3c602047a0e7417b74a67485bcce7f8379fb0.tar.xz |
reproducible: make reverting blacklists work
-rwxr-xr-x | bin/reproducible_blacklist.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |