diff options
author | rillig <rillig@pkgsrc.org> | 2020-06-07 06:05:35 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-06-07 06:05:35 +0000 |
commit | 6a105de81d50c62f2a79afc76f9682750c64d9bc (patch) | |
tree | 55238d7fcc2c0e45c4d75cdfd2c2a7d73cad70b5 /mk | |
parent | cfe34143f1a2819968f9b247355bc0e79ce8ec04 (diff) | |
download | pkgsrc-6a105de81d50c62f2a79afc76f9682750c64d9bc.tar.gz |
mk/check/check-portability.mk: use predefined tools
Just in case any of these tools defines some command line arguments. The
correct path had already been used before since both env and sh are added
to USE_TOOLS in bsd.pkg.mk.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-portability.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/check/check-portability.mk b/mk/check/check-portability.mk index 739acb21c16..9a92a12d0c6 100644 --- a/mk/check/check-portability.mk +++ b/mk/check/check-portability.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-portability.mk,v 1.17 2020/05/09 19:40:10 rillig Exp $ +# $NetBSD: check-portability.mk,v 1.18 2020/06/07 06:05:35 rillig Exp $ # # This file checks that the extracted shell programs don't contain # bashisms or other constructs that only work on some platforms. @@ -48,8 +48,10 @@ _check-portability: ${RUN} \ [ -d ${WRKSRC}/. ] || exit 0; \ cd ${WRKSRC}; \ - env SKIP_FILTER=${CHECK_PORTABILITY_SKIP:@p@${p}) skip=yes;;@:Q} \ + echo "$$PATH" | tr : '\n'; \ + ${SETENV} \ + SKIP_FILTER=${CHECK_PORTABILITY_SKIP:@p@${p}) skip=yes;;@:Q} \ PREFIX=${PREFIX} \ PATCHDIR=${PATCHDIR} \ CHECK_PORTABILITY_EXPERIMENTAL=${CHECK_PORTABILITY_EXPERIMENTAL:Uno} \ - sh ${PKGSRCDIR}/mk/check/check-portability.sh + ${SH} ${PKGSRCDIR}/mk/check/check-portability.sh |