openbsd-ports/x11/matchbox/matchbox-panel/patches/patch-install-sh
jolan 7b19d81e95 matchbox, window manager for pda-like devices
loosely based on prior work from andreas@ and peter haight
2005-06-17 02:57:30 +00:00

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.