From c1833ee6d25c57d5d5baa2693dc8b89708fa5170 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:39:54 +0200 Subject: Updating. Signed-off-by: Daniel Baumann --- bin/pbuild.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/pbuild.sh b/bin/pbuild.sh index 4d5c847..1c8e538 100755 --- a/bin/pbuild.sh +++ b/bin/pbuild.sh @@ -310,7 +310,14 @@ do binary*) rm -f /tmp/control - CONTROL="${REPOSITORY}/plain/debian/control" + + if [ -n "${TAG}" ] + then + CONTROL="${REPOSITORY}/plain/debian/control?h=${TAG}" + else + CONTROL="${REPOSITORY}/plain/debian/control" + fi + wget -q ${CONTROL} -O /tmp/control case "${BUILD}" in -- cgit v1.2.3