From 9e320884883902321248dc6aeca50d8c45651ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 4 Dec 2019 08:48:17 +0000 Subject: [PATCH] Bug 1600454 - Fix build with --disable-update-channel. r=glandium Depends on D55363 Differential Revision: https://phabricator.services.mozilla.com/D55364 --HG-- extra : moz-landing-system : lando --- build/moz.configure/init.configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure index aeec8d50ae51..aeb2ec703b50 100644 --- a/build/moz.configure/init.configure +++ b/build/moz.configure/init.configure @@ -1247,7 +1247,7 @@ option('--enable-update-channel', @depends('--enable-update-channel') def update_channel(channel): - if channel[0] == '': + if not channel or channel[0] == '': return 'default' return channel[0].lower()