Subject: Re: toolchain/30842: build.sh fails with mksh
To: None <netbsd-bugs@netbsd.org>
From: Thorsten Glaser <tg@mirbsd.de>
List: netbsd-bugs
Date: 08/09/2006 18:29:53
Here's an up to date diff:

Index: build.sh
===================================================================
RCS file: /cvsroot/src/build.sh,v
retrieving revision 1.148
diff -u -p -r1.148 build.sh
--- build.sh	22 Jun 2006 20:00:18 -0000	1.148
+++ build.sh	9 Aug 2006 18:26:43 -0000
@@ -863,7 +863,7 @@ createmakewrapper()
 	fi
 
 	case "${KSH_VERSION:-${SH_VERSION}}" in
-	*PD\ KSH*)
+	*PD\ KSH*|*MIRBSD\ KSH*)
 		set +o braceexpand
 		;;
 	esac

Both mksh R28 (to be released soon) and pdksh disable
braceexpand in posix mode (set -o posix), but older
mksh versions don't, so this diff is preferred, plus
it's minimal.

bye,
//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt