diff options
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-x | bin/build-rpm-package | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package index 5459781..48146a0 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -116,7 +116,7 @@ prepare_workspace() { GIT_OBJECT_ID=`git show-ref -s heads/master` cd "$PROJECT_DIR" - if [ -n "$ARGV2_CODENAME" ]; then + if [ "x$ARGV2_CODENAME" != "x" ]; then if echo "$FEDORA_DISTROS" | grep $ARGV2_CODENAME >/dev/null; then RPM_BUILD_FOR="fedora:$ARGV2_CODENAME" elif echo "$EPEL_DISTROS" | grep $ARGV2_CODENAME >/dev/null; then |