From 05e61daca4d7e0ed1f82e0e604812b90b8bcbde1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 14 Feb 2006 23:08:59 +0000 Subject: Sync from gnulib. --- build-aux/ChangeLog | 4 ++++ build-aux/install-sh | 24 ++++++++++++++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) (limited to 'build-aux') diff --git a/build-aux/ChangeLog b/build-aux/ChangeLog index 302d7aee7..774b2781c 100644 --- a/build-aux/ChangeLog +++ b/build-aux/ChangeLog @@ -1,3 +1,7 @@ +2006-02-14 Paul Eggert + + * install-sh: Update from gnulib. + 2006-01-31 Jim Meyering * config.guess, missing, texinfo.tex: Update from gnulib. diff --git a/build-aux/install-sh b/build-aux/install-sh index 0ae12c0eb..fd2e75a02 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" -- cgit v1.2.3-70-g09d2