summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:10:15 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:10:15 +0000
commitaf501f6c192faeb810b4dfb587ef6206a95b2446 (patch)
tree536cc0b864f878fec3812d3f46aa41f00933a504 /configure
parentAdding upstream version 0.2. (diff)
downloadzutils-af501f6c192faeb810b4dfb587ef6206a95b2446.tar.xz
zutils-af501f6c192faeb810b4dfb587ef6206a95b2446.zip
Adding upstream version 0.3.upstream/0.3
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure b/configure
index e5cf103..77df07b 100755
--- a/configure
+++ b/configure
@@ -7,11 +7,10 @@
#
# Date of this version: 2009-08-13
-invocation_name=$0
args=
no_create=
pkgname=zutils
-pkgversion=0.2
+pkgversion=0.3
srctrigger=zdiff.in
# clear some things potentially inherited from environment.
@@ -114,7 +113,7 @@ if [ x"${srcdir}" = x ] ; then
if [ ! -r ${srcdir}/${srctrigger} ] ; then srcdir=.. ; fi
if [ ! -r ${srcdir}/${srctrigger} ] ; then
## the sed command below emulates the dirname command
- srcdir=`echo ${invocation_name} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+ srcdir=`echo $0 | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
fi
fi
@@ -163,7 +162,7 @@ if [ x${no_create} = x ] ; then
# This script is free software: you have unlimited permission
# to copy, distribute and modify it.
-exec /bin/sh ${invocation_name} ${args} --no-create
+exec /bin/sh $0 ${args} --no-create
EOF
chmod +x config.status
fi