diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-06-28 09:38:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-06-28 09:38:41 +0000 |
commit | b9665c8d391b176a290d827c4802ec3bc50ed970 (patch) | |
tree | 48e77a642132cec86995c58b274251576cf966f6 /configure | |
parent | Adding upstream version 0.5. (diff) | |
download | xlunzip-b9665c8d391b176a290d827c4802ec3bc50ed970.tar.xz xlunzip-b9665c8d391b176a290d827c4802ec3bc50ed970.zip |
Adding upstream version 0.6.upstream/0.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -6,7 +6,7 @@ # to copy, distribute, and modify it. pkgname=xlunzip -pkgversion=0.5 +pkgversion=0.6 progname=xlunzip srctrigger=doc/${progname}.1 @@ -26,11 +26,7 @@ CFLAGS='-Wall -W -O2' LDFLAGS= # checking whether we are using GNU C. -/bin/sh -c "${CC} --version" > /dev/null 2>&1 || - { - CC=cc - CFLAGS=-O2 - } +/bin/sh -c "${CC} --version" > /dev/null 2>&1 || { CC=cc ; CFLAGS=-O2 ; } # Loop over all args args= @@ -42,7 +38,8 @@ while [ $# != 0 ] ; do shift # Add the argument quoted to args - args="${args} \"${option}\"" + if [ -z "${args}" ] ; then args="\"${option}\"" + else args="${args} \"${option}\"" ; fi # Split out the argument for options that take them case ${option} in |