On Mon, Jan 12, 2004 at 12:32:55AM -0800, He Li wrote:
> Hi,
>    I just tried to install new automake 1.8.1.
>
>    It built ok in HP-UX.11.11, Solaris 8 and AIX 5.2.
>
>    But in Tru64 5.1B "make install" failed.

Thanks for the report.  I'm installing the following fix and will
likely release 1.8.2 this evening.  Sigh.  Stupid me.

2004-01-12  Alexandre Duret-Lutz  <[EMAIL PROTECTED]>

        * lib/install-sh: Do not use "$@" in a context where it may be empty,
        for the sake of OSF1/Tru64's shell.
        Report from He Li.

Index: THANKS
===================================================================
RCS file: /cvs/automake/automake/THANKS,v
retrieving revision 1.230.2.5
diff -u -r1.230.2.5 THANKS
--- THANKS      11 Jan 2004 12:09:07 -0000      1.230.2.5
+++ THANKS      12 Jan 2004 09:40:34 -0000
@@ -82,6 +82,7 @@
 H.J. Lu                        [EMAIL PROTECTED]
 H.Merijn Brand         [EMAIL PROTECTED]
 Harlan Stenn           [EMAIL PROTECTED]
+He Li                          [EMAIL PROTECTED]
 Henrik Frystyk Nielsen [EMAIL PROTECTED]
 Ian Lance Taylor       [EMAIL PROTECTED]
 Imacat                 [EMAIL PROTECTED]
Index: lib/install-sh
===================================================================
RCS file: /cvs/automake/automake/lib/install-sh,v
retrieving revision 1.13.2.1
diff -u -r1.13.2.1 install-sh
--- lib/install-sh      8 Jan 2004 23:32:26 -0000       1.13.2.1
+++ lib/install-sh      12 Jan 2004 09:40:34 -0000
@@ -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 [EMAIL 
PROTECTED]
        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;;


Reply via email to