Wrapper scripts break when passed an argument that contains a newline

character, so remove it from the ast-ksh make.probe.
This commit is contained in:
jlam 2004-11-12 18:08:54 +00:00
parent cd255cba4e
commit a2cb0e6a3e
2 changed files with 17 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.5 2003/08/12 23:28:58 kristerw Exp $
$NetBSD: distinfo,v 1.6 2004/11/12 18:08:54 jlam Exp $
SHA1 (INIT.2003-07-24.tgz) = 92946d1b522345b6c8ac25cb11e4b621a95a9150
Size (INIT.2003-07-24.tgz) = 258944 bytes
SHA1 (ast-ksh.2003-07-24.tgz) = 08d80d4ecb02a005886bbe0adb67c7e7f53be70c
Size (ast-ksh.2003-07-24.tgz) = 1459120 bytes
SHA1 (patch-aa) = dd3e5cc9b80ae6e24faed3f15af354cf34fb16a0
SHA1 (patch-ab) = adbbdb5deeb15c1eeb38bec5685d9e6331b2b964

View file

@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.1 2004/11/12 18:08:54 jlam Exp $
--- src/cmd/INIT/make.probe.orig 2003-06-12 12:22:25.000000000 -0400
+++ src/cmd/INIT/make.probe
@@ -805,9 +805,7 @@ case $pic:$so:$dynamic:$static in
fi
case $so in
?*) if $cc -c require.$src
- then p='
-/usr/proberun/lib:/local/runprobe/lib
-'
+ then p='/usr/proberun/lib:/local/runprobe/lib'
eval set x $probe_ldrunpath
while :
do shift