summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"