* configure (topsrcdir): Don't use dirname.
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -518,7 +518,8 @@ fi
|
||||
|
||||
configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
|
||||
moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
|
||||
topsrcdir=`cd \`dirname ${progname}\`; pwd`
|
||||
## the sed command below emulates the dirname command
|
||||
topsrcdir=`cd \`echo ${progname} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'\`; pwd`
|
||||
|
||||
|
||||
# this is a hack. sun4 must always be a valid host alias or this will fail.
|
||||
|
Reference in New Issue
Block a user