diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pbuild.sh | 10 |
1 files changed, 5 insertions, 5 deletions
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 |