Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Wed, Feb 25, 2009 at 08:38:30PM +0000, Jonathan Perkin wrote:
> 
> Module Name:  src
> Committed By: sketch
> Date:         Wed Feb 25 20:38:30 UTC 2009
> 
> Modified Files:
>       src: Makefile
>       src/etc: Makefile
>       src/usr.sbin/postinstall: postinstall
> 
> Log Message:
> Use awk and grep host tools where required.  'build.sh release' now works
> on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).

Do you really mean OpenSolaris here (with ksh93 as /bin/sh)?  Because
there are so many constructs in the script that stand no chance working
in the old Bourne sh on older releases.

To name a few examples:

93:                _serial=$((${_serial} + 1))

116:                result="${result}$(printf "%s\n" "$arg" | \

1418:                        elif [ -f "${OPTARG%%:*}" -a -f "${OPTARG##*:}" \

-- 
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --


Home | Main Index | Thread Index | Old Index