summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-24 10:22:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-24 10:22:55 +0100
commitf5a00e5c5c367818266015abe99a38aecc9b23fc (patch)
treecd5d99092fe2f0500747316d4b4753ee21519cb3
parentf60af82233d52a003f8ae1dd8c8751141f7c07a0 (diff)
downloadjenkins.debian.net-f5a00e5c5c367818266015abe99a38aecc9b23fc.tar.xz
enable debugging
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh4
1 files changed, 3 insertions, 1 deletions
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 <holger@layer-acht.org>
# 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)