diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-11-30 21:03:31 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-11-30 21:03:31 +0100 |
commit | 3cb9042cf2c5b99f79c8e7d1963ba927eb421d9c (patch) | |
tree | a56ee5a21f432357ab35b235fdaf1f3dfea7c95f /bin/build-deb-package | |
parent | 616592fafcf45338b7de037ad86f5f4a2ebc8a79 (diff) | |
download | buildscripts-3cb9042cf2c5b99f79c8e7d1963ba927eb421d9c.tar.gz buildscripts-3cb9042cf2c5b99f79c8e7d1963ba927eb421d9c.tar.bz2 buildscripts-3cb9042cf2c5b99f79c8e7d1963ba927eb421d9c.zip |
split-up DISTS_SUPPORTED var into DEB_DISTS_SUPPORTED and RPM_DISTS_SUPPORTED
Diffstat (limited to 'bin/build-deb-package')
-rwxr-xr-x | bin/build-deb-package | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-deb-package b/bin/build-deb-package index 392e335..3a1ac3e 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -25,7 +25,7 @@ GIT_HOSTNAME="git.mydomain.org" DEBEMAIL="firstname.lastname@mydomain.org" DEBFULLNAME="Firstname Lastname" GPG_KEY= -DISTS_SUPPORTED="debian ubuntu" +DEB_DISTS_SUPPORTED="debian ubuntu" DEBIAN_DISTROS="lenny,squeeze,wheezy,jessie,sid" UBUNTU_DISTROS="lucid,precise" @@ -136,7 +136,7 @@ clear_pkgdist() { echo "$DEB_BUILD_FOR" | sed -e 's/ /\n/g' | while read line; do l_DIST="$(echo ${line/: /:} | cut -d":" -f1 | tr [:upper:] [:lower:])" l_CODENAMES="${CODENAMES:-$(echo ${line/: /:} | cut -d":" -f2- | sed -e 's/,/ /g' | tr [:upper:] [:lower:])}" - echo "$DISTS_SUPPORTED" | grep $l_DIST >/dev/null && { + echo "$DEB_DISTS_SUPPORTED" | grep $l_DIST >/dev/null && { for l_CODENAME in $l_CODENAMES; do # in case we build a special CODENAME (squeeze, wheezy, lucid, ...) do skip @@ -178,7 +178,7 @@ build_packages() { echo "$DEB_BUILD_FOR" | sed -e 's/ /\n/g' | while read line; do l_DIST="$(echo ${line/: /:} | cut -d":" -f1 | tr [:upper:] [:lower:])" l_CODENAMES="${CODENAMES:-$(echo ${line/: /:} | cut -d":" -f2- | sed -e 's/,/ /g' | tr [:upper:] [:lower:])}" - echo "$DISTS_SUPPORTED" | grep $l_DIST >/dev/null && { + echo "$DEB_DISTS_SUPPORTED" | grep $l_DIST >/dev/null && { for l_CODENAME in $l_CODENAMES; do # in case we build a special CODENAME (squeeze, wheezy, lucid, ...) do skip |