From: Ralf Wildenhues Date: Thu, 11 May 2006 17:28:08 +0000 (+0000) Subject: * lib/install-sh: Initialize IFS, so field splitting isn't X-Git-Tag: Release-1-9b~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9c0804e995429966fd3c3cfa40913de047f907a;p=thirdparty%2Fautomake.git * lib/install-sh: Initialize IFS, so field splitting isn't turned off later. * lib/mkinstalldirs: Likewise. --- diff --git a/ChangeLog b/ChangeLog index e687a8b6a..c828a4ea8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-05-11 Ralf Wildenhues + * lib/install-sh: Initialize IFS, so field splitting isn't + turned off later. + * lib/mkinstalldirs: Likewise. + * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has the path of the prerequisite added; IRIX 6.5 make does not add it, Solaris 2.6 make is inconsistent about adding it. Fixes diff --git a/lib/install-sh b/lib/install-sh index 220d6647e..64c408f51 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2006-04-25.22 +scriptversion=2006-05-11.19 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -42,6 +42,10 @@ scriptversion=2006-04-25.22 # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. +nl=' +' +IFS=" "" $nl" + # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. diff --git a/lib/mkinstalldirs b/lib/mkinstalldirs index 259dbfcd3..ef7e16fda 100755 --- a/lib/mkinstalldirs +++ b/lib/mkinstalldirs @@ -1,7 +1,7 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -scriptversion=2005-06-29.22 +scriptversion=2006-05-11.19 # Original author: Noah Friedman # Created: 1993-05-16 @@ -11,6 +11,9 @@ scriptversion=2005-06-29.22 # bugs to or send patches to # . +nl=' +' +IFS=" "" $nl" errstatus=0 dirmode=