From f5a00e5c5c367818266015abe99a38aecc9b23fc Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 24 Feb 2015 10:22:55 +0100 Subject: enable debugging --- bin/reproducible_schedule_on_demand.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_schedule_on_demand.sh') diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh index 5b4f3ea0..db003cf7 100755 --- a/bin/reproducible_schedule_on_demand.sh +++ b/bin/reproducible_schedule_on_demand.sh @@ -3,7 +3,7 @@ # Copyright 2014 Holger Levsen # released under the GPLv=2 -DEBUG=false +DEBUG=true . /srv/jenkins/bin/common-functions.sh common_init "$@" @@ -30,11 +30,13 @@ check_candidates() { PACKAGES="" TOTAL=0 for PKG in $CANDIDATES ; do + echo "checking $PKG" RESULT=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT name from sources WHERE name = '$PKG';") if [ ! -z "$RESULT" ] ; then PACKAGES="$PACKAGES $RESULT" let "TOTAL+=1" fi + echo "Debug: $PKG $RESULT" done case $TOTAL in 0) -- cgit v1.2.3-54-g00ecf