From f10e21fab3681da3a34d654669acf8513bff66b5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 12 Jun 2021 15:08:06 +0200 Subject: Updating. Signed-off-by: Daniel Baumann --- bin/pbuild.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/pbuild.sh b/bin/pbuild.sh index 7f88118..69d379e 100755 --- a/bin/pbuild.sh +++ b/bin/pbuild.sh @@ -247,20 +247,20 @@ do mv "${TARGET}" "${TARGET}-${UPSTREAM_VERSION}" - for DISTRIBUTION in engywuck fuchur + for DIST in engywuck fuchur do if [ ! -e "${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz" ] then - wget ${SERVER}/archive/$(echo ${DISTRIBUTION} | cut -d- -f 1)/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + wget ${SERVER}/archive/${DIST}/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] then - wget ${SERVER}/archive/$(echo ${DISTRIBUTION} | cut -d- -f 1)-backports/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + wget ${SERVER}/archive/${DIST}-backports/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] then - wget ${SERVER}/archive/$(echo ${DISTRIBUTION} | cut -d- -f 1)-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + wget ${SERVER}/archive/${DIST}-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] then - wget ${SERVER}/archive/$(echo ${DISTRIBUTION} | cut -d- -f 1)-backports-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + wget ${SERVER}/archive/${DIST}-backports-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true fi fi fi -- cgit v1.2.3