From f9c0804e995429966fd3c3cfa40913de047f907a Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Thu, 11 May 2006 17:28:08 +0000 Subject: [PATCH] * lib/install-sh: Initialize IFS, so field splitting isn't turned off later. * lib/mkinstalldirs: Likewise. --- ChangeLog | 4 ++++ lib/install-sh | 6 +++++- lib/mkinstalldirs | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e687a8b..c828a4e 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 220d664..64c408f 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 259dbfc..ef7e16f 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= -- 2.7.4