pkgsrc-WIP-changes archive

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

provider.mk: use ${TRUE} instead of true



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon May 3 00:15:36 2021 +0200
Changeset:	3e459079024b2e45ce71d7aaaedc004c9c6c6d20

Modified Files:
	terraform/provider.mk

Log Message:
provider.mk: use ${TRUE} instead of true

Pointed out by pkglint.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3e459079024b2e45ce71d7aaaedc004c9c6c6d20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 terraform/provider.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/terraform/provider.mk b/terraform/provider.mk
index ce73726bc3..bacf79b5b1 100644
--- a/terraform/provider.mk
+++ b/terraform/provider.mk
@@ -49,7 +49,7 @@ pre-install:
 	if [ -f ${WRKDIR}/.gopath/bin/${TERRAFORM_PROVIDER_BIN} ]; then \
 		${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/${TERRAFORM_PROVIDER_BIN} \
 		    ${DESTDIR}${PREFIX}/${TERRAFORM_PROVIDER_DIR} ; \
-		{ [ -d ${WRKDIR}/.gopath ] && chmod -R +w ${WRKDIR}/.gopath || true ; } ; \
+		{ [ -d ${WRKDIR}/.gopath ] && chmod -R +w ${WRKDIR}/.gopath || ${TRUE} ; } ; \
 		${RM} -rf ${WRKDIR}/.gopath/bin ; \
 	elif [ -f ${WRKDIR}/bin/${TERRAFORM_PROVIDER_BIN} ]; then \
 		${INSTALL_PROGRAM} ${WRKDIR}/bin/${TERRAFORM_PROVIDER_BIN} \


Home | Main Index | Thread Index | Old Index