Commit 2d9f1e53 authored by Guido van Rossum's avatar Guido van Rossum

Avoid using dirname; sed can do this just as well...

parent d699758c
......@@ -96,7 +96,8 @@ fi
# Make a temp file name in the proper directory.
dstdir=`dirname $dst`
# Avoid dirname, which doesn't exist everywhere...
dstdir=`echo $dst | sed 's,/[^/]*$,,'`
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment