diff options
author | David D. Zuhn <zoo@cygnus> | 1993-06-21 19:38:14 +0000 |
---|---|---|
committer | David D. Zuhn <zoo@cygnus> | 1993-06-21 19:38:14 +0000 |
commit | af8647132a7a9adcbf6466dc97c04df414789d11 (patch) | |
tree | bfe0f36a2d36009546fa91d208b4fe38f07740ed | |
parent | 9b4be067af42db0c325a8a37c1202b64eb9e892f (diff) | |
download | gdb-af8647132a7a9adcbf6466dc97c04df414789d11.zip gdb-af8647132a7a9adcbf6466dc97c04df414789d11.tar.gz gdb-af8647132a7a9adcbf6466dc97c04df414789d11.tar.bz2 |
don't use dirname
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | install.sh | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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 @@ -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. |