pkgsrc-WIP-changes archive

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

bats-core: Remove .orig files before install



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Mar 5 10:08:35 2022 +0900
Changeset:	b674c72721ffe2d320d81cbf971dba3df9b0a4c1

Modified Files:
	bats-core/Makefile

Log Message:
bats-core: Remove .orig files before install

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

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

diffstat:
 bats-core/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/bats-core/Makefile b/bats-core/Makefile
index 69511aab00..2b5e11a23d 100644
--- a/bats-core/Makefile
+++ b/bats-core/Makefile
@@ -20,7 +20,8 @@ USE_TOOLS+=		bash:run
 REPLACE_BASH+=		bin/bats libexec/bats-core/*
 
 do-install:
-	cd ${WRKSRC} && ${SETENV} PKGMANDIR=${PKGMANDIR} ./install.sh ${DESTDIR}${PREFIX}
+	cd ${WRKSRC} && rm -f bin/bats.orig libexec/bats-core/bats.orig && \
+		${SETENV} PKGMANDIR=${PKGMANDIR} ./install.sh ${DESTDIR}${PREFIX}
 
 do-test:
 	cd ${WRKSRC} && ${SETENV} LC_MESSAGES=C PKGMANDIR=${PKGMANDIR} ./bin/bats ./test


Home | Main Index | Thread Index | Old Index