[X2Go-Commits] [buildscripts] 07/12: bin/sbuild-deb-package: backport arch variable rename.
git-admin at x2go.org
git-admin at x2go.org
Thu Apr 6 08:34:54 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit b523803e53401bcb88bce320e18b758a0aa3298a
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Apr 6 08:31:18 2017 +0200
bin/sbuild-deb-package: backport arch variable rename.
---
bin/sbuild-deb-package | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package
index ccb4b86..9f6f1a8 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -198,11 +198,11 @@ clear_pkgdist() {
# the wrong distribution here...
test -z "${CODENAMES}" || grep "${CODENAMES}" <<< "${line}" || break
- typeset arch="amd64 i386"
+ typeset arches="amd64 i386"
- [ "${l_DIST}" = "raspbian" ] && arch="armhf"
+ [ "${l_DIST}" = "raspbian" ] && arches="armhf"
- for l_ARCH in ${arch}; do
+ for l_ARCH in ${arches}; do
[ "x${SKIP_ARCH}" != "x${l_ARCH}" ] && {
mkdir -p -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}"
rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/dupload.conf"
@@ -383,11 +383,11 @@ upload_packages() {
# the wrong distribution here...
test -z "${CODENAMES}" || grep "${CODENAMES}" <<< "${line}" || break
- typeset arch="amd64 i386"
+ typeset arches="amd64 i386"
- [ "${l_DIST}" = "raspbian" ] && arch="armhf"
+ [ "${l_DIST}" = "raspbian" ] && arches="armhf"
- for l_ARCH in ${arch}; do
+ for l_ARCH in ${arches}; do
[ "x${SKIP_ARCH}" != "x${l_ARCH}" ] && {
cd "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}"
test -f "./dupload.conf" || ln -s -- "${HOME}/.dupload.conf.${PREFIX}" "./dupload.conf"
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list