diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-13 13:39:22 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-13 13:39:22 +0200 |
commit | d6b08a3c7f324cd1916d9c51df0b4cba9ecad77d (patch) | |
tree | 02f34b2cf353664cf56dfbaf27fb657fd78431d4 | |
parent | 751a4cc9cb418a593d7845753018f29b188e6e14 (diff) | |
download | buildscripts-d6b08a3c7f324cd1916d9c51df0b4cba9ecad77d.tar.gz buildscripts-d6b08a3c7f324cd1916d9c51df0b4cba9ecad77d.tar.bz2 buildscripts-d6b08a3c7f324cd1916d9c51df0b4cba9ecad77d.zip |
bundle release builds: Fix usage of wrong var name.
-rwxr-xr-x | bin/build-rpm-package | 2 | ||||
-rwxr-xr-x | 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}" |