diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-11-15 20:52:13 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-11-15 21:01:29 +0900 |
commit | 2aeb2b8d8b045b317efa595aabb356680dbf4978 (patch) | |
tree | 8e4cf8a0180c80467aeb2f82783d2f7c840cc93a /packaging/ubuntu | |
parent | c564e06d4ef32f6bd7104ecf398e631f4c95a5ff (diff) | |
download | subsurface-2aeb2b8d8b045b317efa595aabb356680dbf4978.tar.gz |
Small fix for Ubuntu builds
This makes the code slightly less error prone, I hope.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ubuntu')
-rw-r--r-- | packaging/ubuntu/make-package.sh | 38 |
1 files changed, 9 insertions, 29 deletions
diff --git a/packaging/ubuntu/make-package.sh b/packaging/ubuntu/make-package.sh index 64fb34fce..8bdd6078a 100644 --- a/packaging/ubuntu/make-package.sh +++ b/packaging/ubuntu/make-package.sh @@ -81,35 +81,15 @@ cp debian/changelog ~/src/debian.changelog debuild -S -# and now for utopic -prev=trusty -rel=utopic -sed -i "s/${prev}/${rel}/g" debian/changelog -debuild -S - -# and now for vivid -prev=utopic -rel=vivid -sed -i "s/${prev}/${rel}/g" debian/changelog -debuild -S - -# and now for wily -prev=vivid -rel=wily -sed -i "s/${prev}/${rel}/g" debian/changelog -debuild -S - -# and now for xenial -prev=wily -rel=xenial -sed -i "s/${prev}/${rel}/g" debian/changelog -debuild -S - -# and now for yakkety -prev=wily -rel=yakkety -sed -i "s/${prev}/${rel}/g" debian/changelog -debuild -S +#create builds for the newer Ubuntu releases that Launchpad supports +rel=trusty +others="vivid wily xenial yakkety" +for next in $others +do + sed -i "s/${rel}/${next}/g" debian/changelog + debuild -S + rel=$next +done # and now for precise (precise can't build Qt5 based packages) # with the switch to cmake the amount of effort to build Qt4 packages |