From d0dfe799cbd65ce2e4d467f793ad1a0bf4cf4a16 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 17:10:22 +0100 Subject: Merging upstream version 0.3. Signed-off-by: Daniel Baumann --- configure | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3