summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-04 22:27:50 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-04 22:27:50 +0100
commit2aeb8c70daa54e8b98286cbc655262c1d5b9f72f (patch)
tree531b349a9036d534a0dba237b4598c25cc738ce0
parent8dc17fcf0931e9060bafe9c93aa0cc57f35fd998 (diff)
downloadbuildscripts-2aeb8c70daa54e8b98286cbc655262c1d5b9f72f.tar.gz
buildscripts-2aeb8c70daa54e8b98286cbc655262c1d5b9f72f.tar.bz2
buildscripts-2aeb8c70daa54e8b98286cbc655262c1d5b9f72f.zip
fix for last commit
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index b3ff360..8baee9b 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -72,7 +72,7 @@ set_vars() {
DATE="${DATE:-$(date +%Y%m%d)}"
if [ "x$COMPONENT" = "x$COMPONENT_MAIN" ]; then
CHECKOUT="${3:-build-main}"
- if [ "x$COMPONENT" = "x${COMPONENT_MAIN}-test" ]; then
+ elif [ "x$COMPONENT" = "x${COMPONENT_MAIN}-test" ]; then
CHECKOUT="${3:-build-main-test}"
elif echo "$COMPONENT_RELEASES" | grep "$COMPONENT" >/dev/null; then
CHECKOUT="${3:-build-$COMPONENT}"