From b23c128ee008bd796f8ac19ebeec103768903428 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 25 Sep 2014 13:34:16 -0700 Subject: [PATCH] configure: Fix the compatibility code for --enable-nightly When --enable-nightly is not specified this expression is malformed because $CFG_ENABLE_NIGHTLY is undefined. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ef6da404623..54bc824b8e0 100755 --- a/configure +++ b/configure @@ -488,7 +488,7 @@ esac # Continue supporting the old --enable-nightly flag to transition the bots # XXX Remove me -if [ $CFG_ENABLE_NIGHTLY -eq 1 ] +if [ ! -z "$CFG_ENABLE_NIGHTLY" ] then CFG_RELEASE_CHANNEL=nightly putvar CFG_RELEASE_CHANNEL