]> Git Repo - binutils.git/blobdiff - install.sh
* coff-mips.c (ecoff_find_nearest_line): If procedure has no line
[binutils.git] / install.sh
index 710497a637ec39860ea65865f3b23c914417a871..649b960baad068c27e1a07f9da6acde0a8b43311 100755 (executable)
@@ -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.
This page took 0.02583 seconds and 4 git commands to generate.