summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-12-16 12:56:19 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-16 12:56:19 +0100
commit9863d2e2f80854a290a597f1576f93a6221e9c15 (patch)
tree53abbd5fe5873e6180d3ba175f5d8db165e5421d
parente714badd9f62109d9c9fcd067deb806e0a51cb3a (diff)
downloadjenkins.debian.net-9863d2e2f80854a290a597f1576f93a6221e9c15.tar.xz
find_dpkg_trigger_cycles.sh: use bin/common-functions.sh and common variables
-rwxr-xr-xbin/find_dpkg_trigger_cycles.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh
index 123488fc..0e67a6f1 100755
--- a/bin/find_dpkg_trigger_cycles.sh
+++ b/bin/find_dpkg_trigger_cycles.sh
@@ -96,12 +96,12 @@
# explicit trigger, the second column is the name of the explicit trigger, the
# third column is the binary package activating the trigger.
-set -e
+DEBUG=false
+. /srv/jenkins/bin/common-functions.sh
+common_init "$@"
ARCH="amd64"
-DIST="sid"
-MIRROR="http://http.debian.net/debian"
-#MIRROR="http://snapshot.debian.org/archive/debian/20141211T041251Z/"
+DIST="$1"
DIRECTORY="`pwd`/debian-$DIST-$ARCH"
#FIXME: if the host has more than one arch enabled then those Packages files will be downloaded as well