7b19d81e95
loosely based on prior work from andreas@ and peter haight
13 lines
430 B
Plaintext
13 lines
430 B
Plaintext
$OpenBSD: patch-install-sh,v 1.1.1.1 2005/06/17 02:57:30 jolan Exp $
|
|
--- install-sh.orig Sun Mar 20 11:43:33 2005
|
|
+++ install-sh Mon Jun 6 22:42:33 2005
|
|
@@ -207,7 +207,7 @@ do
|
|
fi
|
|
|
|
# This sed command emulates the dirname command.
|
|
- dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
|
+ dstdir=`echo "$dst" | sed -e 's,/$,,g' -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
|
|
|
# Make sure that the destination directory exists.
|
|
|