Old (4.2BSD, like Ultrix) Bourne shells do not understand
Jarkko Hietaniemi [Sat, 17 May 2003 16:26:47 +0000 (16:26 +0000)]
non-left-aligned heredocs.

p4raw-id: //depot/perl@19547

Makefile.SH

index 51db4ad..9161ed6 100644 (file)
@@ -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"
                ;;