mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
mk-sbuild: Initialise ubuntu_dist_ge vars so unknown releases work.
This commit is contained in:
parent
92822060b2
commit
06fc171980
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
ubuntu-dev-tools (0.164) unstable; urgency=medium
|
||||||
|
|
||||||
|
* mk-sbuild: Initialise ubuntu_dist_ge vars so unknown releases work.
|
||||||
|
|
||||||
|
-- Adam Conrad <adconrad@ubuntu.com> Tue, 24 Apr 2018 05:24:43 -0600
|
||||||
|
|
||||||
ubuntu-dev-tools (0.163) unstable; urgency=medium
|
ubuntu-dev-tools (0.163) unstable; urgency=medium
|
||||||
|
|
||||||
* mk-sbuild: Add ubuntu_dist_ge and use it to set BUILD_PKGS for Ubuntu.
|
* mk-sbuild: Add ubuntu_dist_ge and use it to set BUILD_PKGS for Ubuntu.
|
||||||
|
@ -333,6 +333,8 @@ fi
|
|||||||
if [ "$DISTRO" = "ubuntu" ]; then
|
if [ "$DISTRO" = "ubuntu" ]; then
|
||||||
ubuntu_dist_ge() {
|
ubuntu_dist_ge() {
|
||||||
local releases="$(ubuntu-distro-info --all)"
|
local releases="$(ubuntu-distro-info --all)"
|
||||||
|
local left=999
|
||||||
|
local right=0
|
||||||
local seq=1
|
local seq=1
|
||||||
for i in $releases; do
|
for i in $releases; do
|
||||||
if [ $1 = $i ]; then
|
if [ $1 = $i ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user