Subject: Re: pkg_chk.sh on Solaris
To: Ben Secrest <blsecres@ssdtgsm.com>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 04/13/2004 15:37:53
	Looks good - committed & many thanks :)

On Tue, 13 Apr 2004, Ben Secrest wrote:

> The recent changes from v1.2 to v1.3 of the pkg_chk.sh script break on
> Solaris.  Specifically, the /bin/sh on Solaris does not support the
> $(...) notation where `...` was once used.  Would it be reasonable to
> add another command to the sed invocation under do-build?
>
> *** pkg_chk/files/pkg_chk.sh    Tue Apr 13 09:16:32 2004
> --- pkg_chk.fix/files/pkg_chk.sh        Tue Apr 13 09:15:48 2004
> ***************
> *** 1,4 ****
> ! #!/bin/sh -e
>   #
>   # $Id: pkg_chk.sh,v 1.3 2004/04/08 18:48:53 abs Exp $
>   #
> --- 1,4 ----
> ! #!@SH@ -e
>   #
>   # $Id: pkg_chk.sh,v 1.3 2004/04/08 18:48:53 abs Exp $
>   #
>
> *** pkg_chk/Makefile    Tue Apr 13 09:16:32 2004
> --- pkg_chk.fix/Makefile        Tue Apr 13 09:15:48 2004
> ***************
> *** 27,32 ****
> --- 27,33 ----
>   do-build:
> 	  ${SED} -e 's#@MAKE@#${MAKE}#g' \
> 	    -e 's#@MAKECONF@#${MAKECONF}#g' \
> +           -e 's#@SH@#${SH}#g' \
> 	    ${FILESDIR}/pkg_chk.sh >${WRKSRC}/pkg_chk.sh
>
>   do-install:
>

-- 
		David/absolute          -- www.netbsd.org: No hype required --