summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_schedule_on_demand.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-16 13:52:28 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-16 13:52:28 +0100
commit2b6f9c9eb0d7d115e60b2ecd5412d2ce38fb5787 (patch)
treea0d8d219e1d7f6207b52fe188ea5e99318ccb091 /bin/reproducible_schedule_on_demand.sh
parente84bd4035f694c5e0a49e00e4e9381743424963b (diff)
downloadjenkins.debian.net-2b6f9c9eb0d7d115e60b2ecd5412d2ce38fb5787.tar.xz
refactor: rename variable
Diffstat (limited to 'bin/reproducible_schedule_on_demand.sh')
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index 0866ea0b..07df687a 100755
--- a/bin/reproducible_schedule_on_demand.sh
+++ b/bin/reproducible_schedule_on_demand.sh
@@ -19,10 +19,9 @@ SUITE="$1"
shift
CANDIDATES="$@"
check_candidates
-if [ ${#PACKAGES} -gt 256 ] ; then
+if [ ${#PACKAGE_IDS} -gt 256 ] ; then
BLABLABLA="..."
fi
-PACKAGES=$(echo $PACKAGES)
ACTION="manually rescheduled"
if [ -n "${BUILD_URL:-}" ] ; then
ACTION="rescheduled by $BUILD_URL"
@@ -30,7 +29,7 @@ fi
MESSAGE="$TOTAL $PACKAGES_TXT $ACTION for $SUITE: ${PACKAGES_NAMES:0:256}$BLABLABLA"
# finally
-schedule_packages $PACKAGES
+schedule_packages $PACKAGE_IDS
echo
echo "$MESSAGE"
if [ -z "${BUILD_URL:-}" ] ; then