summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-28 09:38:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-28 09:38:41 +0000
commitb9665c8d391b176a290d827c4802ec3bc50ed970 (patch)
tree48e77a642132cec86995c58b274251576cf966f6 /configure
parentAdding upstream version 0.5. (diff)
downloadxlunzip-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-xconfigure11
1 files changed, 4 insertions, 7 deletions
diff --git a/configure b/configure
index 94a1ec9..da06771 100755
--- a/configure
+++ b/configure
@@ -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