summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-28 09:38:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-28 09:38:47 +0000
commitd1eec8184551651d58eefdea942648f2c8432240 (patch)
treec8089fa3b24adda100afb1294c21f2747d321cb1 /configure
parentReleasing debian version 0.5-1. (diff)
downloadxlunzip-d1eec8184551651d58eefdea942648f2c8432240.tar.xz
xlunzip-d1eec8184551651d58eefdea942648f2c8432240.zip
Merging upstream version 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