don't use dirname

This commit is contained in:
David D. Zuhn 1993-06-21 19:38:14 +00:00
parent 9b4be067af
commit af8647132a
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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.