Lars Gullik Bjønnes wrote:
> Rob Lahaye <[EMAIL PROTECTED]> writes:
>
> | On FreeBSD 5.3, with GCC-3.4.2:
>
> | [...]
> | gmake[4]: Entering directory
> | `/home/lahaye/SOFTWARE/lyx-devel/boost/libs/filesystem/src'
> | TMPCMD=` echo g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src  -Winvalid-pch
> | --include=./pch.h -DBOOST_USER_CONFIG="<config.h>" -I../../../../boost
-Wextra
> | -Wall -I/usr/local/include   -I/usr/X11R6/include  -g -O -fno-exceptions |
sed
> | -e s,\",\',` ; \
> | PATTERN=`echo -Winvalid-pch --include=./pch.h | sed -e 's,\/,\\\/,'` ; \
> | ${TMPCMD/$PATTERN} \
> | -x c++-header ./pch.h -MT pch.h.gch -MD -MP -MF "./pch.h.gch.Tdep" \
> | && mv "./pch.h.gch.Tdep" "./pch.h.gch.dep" || rm "./pch.h.gch.Tdep"
> | Syntax error: Bad substitution
> | gmake[4]: *** [pch.h.gch] Error 2
>
>>
> | What's the "Syntax error: Bad substitution" here?
>
> not bash?
>

Hmm, bash is the default shell in the linux community, isn't it?
However, the FreeBSD base system has csh, sh and tcsh.
Of course, I can install bash as an additional package, but is it
wise to make these build scripts depend on a kind of 'linux-ism'?

Regards,
Rob.

Reply via email to