Skip to content

Commit b23c128

Browse files
committed
configure: Fix the compatibility code for --enable-nightly
When --enable-nightly is not specified this expression is malformed because $CFG_ENABLE_NIGHTLY is undefined.
1 parent f46b572 commit b23c128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ esac
488488

489489
# Continue supporting the old --enable-nightly flag to transition the bots
490490
# XXX Remove me
491-
if [ $CFG_ENABLE_NIGHTLY -eq 1 ]
491+
if [ ! -z "$CFG_ENABLE_NIGHTLY" ]
492492
then
493493
CFG_RELEASE_CHANNEL=nightly
494494
putvar CFG_RELEASE_CHANNEL

0 commit comments

Comments
 (0)