changeset 4904:5331b5c2ca2a

update from automake
author Karl Berry <karl@freefriends.org>
date Tue, 13 Jan 2004 13:11:14 +0000
parents a73a6023d4a5
children c041966a4857
files config/ChangeLog config/install-sh
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-13  Karl Berry  <karl@gnu.org>
+
+	* install-sh: update from automake.
+
 2004-01-09  Karl Berry  <karl@gnu.org>
 
 	* install-sh: update from automake.
--- a/config/install-sh
+++ b/config/install-sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2004-01-08.23
+scriptversion=2004-01-12.10
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -140,11 +140,12 @@
         # Otherwise, the last argument is the destination.  Remove it from $@.
 	for arg
 	do
-	  shift
           if test -n "$dstarg"; then
+	    # $@ is not empty: it contains at least $arg.
 	    set fnord "$@" "$dstarg"
-	    shift
+	    shift # fnord
 	  fi
+	  shift # arg
 	  dstarg=$arg
 	done
 	break;;