Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check mk/check/check-portability.mk: use predefined...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab6b27b788d0
branches: trunk
changeset: 433669:ab6b27b788d0
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jun 07 06:05:35 2020 +0000
description:
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:
mk/check/check-portability.mk | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r b23346045aea -r ab6b27b788d0 mk/check/check-portability.mk
--- a/mk/check/check-portability.mk Sun Jun 07 05:59:30 2020 +0000
+++ b/mk/check/check-portability.mk Sun Jun 07 06:05:35 2020 +0000
@@ -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 @@
${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
Home |
Main Index |
Thread Index |
Old Index