[Cryptech-Commits] [releng/alpha] branch master updated: Auto-update the pbuilder environments.

git at cryptech.is git at cryptech.is
Thu Sep 21 07:55:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository releng/alpha.

The following commit(s) were added to refs/heads/master by this push:
     new 40ddb19  Auto-update the pbuilder environments.
40ddb19 is described below

commit 40ddb1929ba0a490e627e79822f9d36a1da7e2dd
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Thu Sep 21 09:54:49 2017 +0200

    Auto-update the pbuilder environments.
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index b6c0743..93eeb65 100644
--- a/Makefile
+++ b/Makefile
@@ -108,10 +108,12 @@ dsc:
 
 pbuilder:
 	rm -f ${PBUILDER_BASE}/*result/*
+	touch -d 'last week' .pbuilder-sell-by-date
 	umask ${REPO_UMASK}; \
 	for target in ${PBUILDER_TARGETS}; do echo $$target | tr '/' ' '; done | \
 	while read dist code arch; do \
 		reprepro -b ${REPO_BASE}/apt/$$dist -A $$arch list $$code ${PACKAGE_NAME} | awk '{v = $$3} END {exit v != "${PACKAGE_VERSION}"}' && continue; \
+		if test $${HOME}/pbuilder/$${code}-$${arch}-base.tgz -ot .pbuilder-sell-by-date; then pbuilder-dist $$code $$arch update; else true; fi; \
 		pbuilder-dist $$code $$arch build ${PACKAGE_NAME}_${PACKAGE_VERSION}.dsc; \
 		cp -p ${PBUILDER_BASE}/$${code}-$${arch}_result/${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.xz ${REPO_BASE}/brew/tarballs/; \
 		reprepro -b ${REPO_BASE}/apt/$$dist include $$code ${PBUILDER_BASE}/$${code}-$${arch}_result/${PACKAGE_NAME}_${PACKAGE_VERSION}_$${arch}.changes; \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list