Subject: X compiling current on Solaris amd64
To: NetBSD-current <current-users@NetBSD.org>
From: Paul Winder <Paul.Winder@tadpole.com>
List: current-users
Date: 04/19/2006 12:28:42
I'm trying to X compile on a solaris amd64. I run:

./build.sh -u -U -R ../release -T ../meteor-tools -O ../obj -m i386 release

and get:
./build.sh: bad substitution

Changed the shell in build.sh to bash it goes further but eventually 
craps out with:

===> build.sh started: Wed Apr 19 11:57:41 BST 2006
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> TOOLDIR path:     /files/home/paul/current/src/../meteor-tools
===> DESTDIR path:     /files/home/paul/current/src/../obj/destdir.i386
===> RELEASEDIR path:  /files/home/paul/current/src/../release
===> makewrapper: 
/files/home/paul/current/src/../meteor-tools/bin/nbmake-i386
===> Updated /files/home/paul/current/src/../meteor-tools/bin/nbmake-i386
/usr/bin/sh: bad substitution

*** Failed target:  obj-tools
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/files/home/paul/current/src" ;; *) this="${dir}/"; 
real="/files/home/paul/current/src/${dir}" ;; esac; show=${this:-.}; 
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/files/home/paul/current/src/../meteor-tools/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools obj
*** Error code 1

Stop.
nbmake: stopped in /files/home/paul/current/src

Any ideas how I can get this to x compile on solaris?