From: David D. Zuhn Date: Mon, 21 Jun 1993 19:38:14 +0000 (+0000) Subject: don't use dirname X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af8647132a7a9adcbf6466dc97c04df414789d11;p=binutils-gdb.git don't use dirname --- diff --git a/ChangeLog b/ChangeLog index 567afecb90f..495732a2217 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 18 12:03:10 1993 david d `zoo' zuhn (zoo at majipoor.cygnus.com) + + * install.sh: don't use dirname anymore (replaced with sed usage) + Thu Jun 17 18:43:42 1993 Fred Fish (fnf@cygnus.com) * Makefile.in: Change extension for gzip'd files from '.z' to diff --git a/install.sh b/install.sh index 710497a637e..649b960baad 100755 --- a/install.sh +++ b/install.sh @@ -114,7 +114,8 @@ fi # Make a temp file name in the proper directory. -dstdir=`dirname $dst` +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` dsttmp=$dstdir/#inst.$$# # Make sure that the destination directory exists.