summaryrefslogtreecommitdiff
path: root/build-aux/install-sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 14:09:32 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 14:09:32 +0000
commit12868c61858fc66f8c010a3d0186e053a4dfcb77 (patch)
tree6a34d441367df17af41d1e421c142a561a10f2ad /build-aux/install-sh
parentbb65e8103fd222daf0ceefae97e7854bf451f9ea (diff)
downloadgnulib-12868c61858fc66f8c010a3d0186e053a4dfcb77.tar.gz
autoupdate
Diffstat (limited to 'build-aux/install-sh')
-rwxr-xr-xbuild-aux/install-sh24
1 files changed, 18 insertions, 6 deletions
diff --git a/build-aux/install-sh b/build-aux/install-sh
index 0ae12c0ebe..fd2e75a02a 100755
--- a/build-aux/install-sh
+++ b/build-aux/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2005-11-07.23
+scriptversion=2006-01-12.21
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -233,11 +233,23 @@ do
X"$dst" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null ||
echo X"$dst" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- /^X\(\/\/\)$/{ s//\1/; q; }
- /^X\(\/\).*/{ s//\1/; q; }
- s/.*/./; q'
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
`
test -d "$dstdir"