BSDi BSD/OS 3.1’s /bin/ksh (PD KSH v5.2.8 96/08/19) is horridly broken and
removes the \n part of a “\\\n” sequence, but not the backslash ⇒ we can’t use line continuation in a here document someone might want to add this to *(autoconf) Portable Shell::
This commit is contained in:
parent
31145570ef
commit
f894288204
5
Build.sh
5
Build.sh
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.344 2008/07/15 20:54:47 tg Exp $'
|
||||
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.345 2008/07/15 23:44:51 tg Exp $'
|
||||
#-
|
||||
# Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
|
||||
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI
|
||||
|
@ -1273,8 +1273,7 @@ cat >>test.sh <<-EOF
|
|||
print "Perl interpreter '\$perli' running on '\$perlos'"
|
||||
[[ -n \$perlos ]] && break
|
||||
done
|
||||
exec \$perli '$srcdir/check.pl' -s '$srcdir/check.t' \\
|
||||
-p '$curdir/mksh' -C \${check_categories#,} \$*$tsts
|
||||
exec \$perli '$srcdir/check.pl' -s '$srcdir/check.t' -p '$curdir/mksh' -C \${check_categories#,} \$*$tsts
|
||||
EOF
|
||||
chmod 755 test.sh
|
||||
echo set -x >Rebuild.sh
|
||||
|
|
Loading…
Reference in New Issue