diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-17 16:26:47 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-17 16:26:47 +0000 |
commit | fde91635d459dc9b5c5563809bb62a4fc882e73c (patch) | |
tree | 3348c486b0964c85a404a357b4b802417581e557 /Makefile.SH | |
parent | ab900c531c1e8d7aefac3b0c5e42704bfb913d3e (diff) | |
download | perl-fde91635d459dc9b5c5563809bb62a4fc882e73c.tar.gz |
Old (4.2BSD, like Ultrix) Bourne shells do not understand
non-left-aligned heredocs.
p4raw-id: //depot/perl@19547
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.SH b/Makefile.SH index 51db4ad494..9161ed63b2 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 <<EOT > 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" ;; |