Up to [cvs.NetBSD.org] / src
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-4-base
Revision 1.153 / (download) - annotate - [select for diffs], Fri Sep 29 19:53:54 2006 UTC (17 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.152: +101 -12
lines
Diff to previous 1.152 (colored)
Use ${HOST_SH} instead of the host system's /bin/sh wherever possible: * Try to guess a suitable value for HOST_SH, if it was not set in the environment. First try host-specific heuristics (Solaris has /usr/xpg4/bin/sh); then try to find the name of the shell that was used to run build.sh itself (by parsing the output from ps -p $$ -o comm); then fall back to "sh". * Having found a value for HOST_SH, copy it to BSHELL and CONFIG_SHELL. * Use ${HOST_SH} instead of /bin/sh when creating the make wrapper. * Use ${HOST_SH} instead of unqualified sh when running shell scripts.