summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:10:22 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:10:22 +0000
commitd0dfe799cbd65ce2e4d467f793ad1a0bf4cf4a16 (patch)
treef6ad8f3c9639fb3a8688d51239d0ccdabe33520a /configure
parentAdding debian version 0.2-1. (diff)
downloadzutils-d0dfe799cbd65ce2e4d467f793ad1a0bf4cf4a16.tar.xz
zutils-d0dfe799cbd65ce2e4d467f793ad1a0bf4cf4a16.zip
Merging upstream version 0.3.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-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