From: Jarkko Hietaniemi Date: Sat, 17 May 2003 16:26:47 +0000 (+0000) Subject: Old (4.2BSD, like Ultrix) Bourne shells do not understand X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fde91635d459dc9b5c5563809bb62a4fc882e73c;p=p5sagit%2Fp5-mst-13.2.git Old (4.2BSD, like Ultrix) Bourne shells do not understand non-left-aligned heredocs. p4raw-id: //depot/perl@19547 --- diff --git a/Makefile.SH b/Makefile.SH index 51db4ad..9161ed6 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -105,13 +105,13 @@ true) case "$osname" in linux) rm -f preload - cat <<-'EOT' > preload - #! /bin/sh - lib=$1 - shift - test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD" - exec "$@" - EOT + cat < preload +#! /bin/sh +lib=$1 +shift +test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD" +exec "$@" +EOT chmod 755 preload ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl" ;;