From d6b08a3c7f324cd1916d9c51df0b4cba9ecad77d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 13 Sep 2016 13:39:22 +0200 Subject: bundle release builds: Fix usage of wrong var name. --- bin/build-rpm-package | 2 +- bin/sbuild-deb-package | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index 860187d..2e2513f 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -152,7 +152,7 @@ set_vars() { elif [ "x${COMPONENT}" = "x${COMPONENT_MAIN}-test" ]; then CHECKOUT="${3:-build-main-test}" COMPONENT="maintest" - elif grep -qs "${COMPONENT}" <<< "${COMPONENT_RELEASES}"; then + elif grep -qs "${COMPONENT}" <<< "${COMPONENT_BUNDLES}"; then CHECKOUT="${3:-build-$COMPONENT}" elif [ "x${COMPONENT}" = "x$COMPONENT_NIGHTLY" ]; then CHECKOUT="${3:-master}" diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package index c3a39fd..2a99e71 100755 --- a/bin/sbuild-deb-package +++ b/bin/sbuild-deb-package @@ -27,7 +27,7 @@ DEBFULLNAME="Firstname Lastname" GPG_KEY="" DEB_DISTS_SUPPORTED="debian ubuntu" DEBIAN_DISTROS="lenny,squeeze,wheezy,jessie,stretch,sid" -UBUNTU_DISTROS="lucid,precise,trusty,xenial" +UBUNTU_DISTROS="lucid,precise,trusty,xenial,yakkety" COMPONENT_MAIN="main" COMPONENT_NIGHTLY="nightly" @@ -89,7 +89,7 @@ set_vars() { CHECKOUT="${3:-build-main}" elif [ "x${COMPONENT}" = "x${COMPONENT_MAIN}-test" ]; then CHECKOUT="${3:-build-main-test}" - elif grep -qs "$COMPONENT" <<< "${COMPONENT_RELEASES}"; then + elif grep -qs "$COMPONENT" <<< "${COMPONENT_BUNDLES}"; then CHECKOUT="${3:-build-$COMPONENT}" elif [ "x${COMPONENT}" = "x${COMPONENT_NIGHTLY}" ]; then CHECKOUT="${3:-master}" -- cgit v1.2.3