mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
configure: Fix the compatibility code for --enable-nightly
When --enable-nightly is not specified this expression is malformed because $CFG_ENABLE_NIGHTLY is undefined.
This commit is contained in:
parent
f46b57252e
commit
b23c128ee0
2
configure
vendored
2
configure
vendored
@ -488,7 +488,7 @@ esac
|
|||||||
|
|
||||||
# Continue supporting the old --enable-nightly flag to transition the bots
|
# Continue supporting the old --enable-nightly flag to transition the bots
|
||||||
# XXX Remove me
|
# XXX Remove me
|
||||||
if [ $CFG_ENABLE_NIGHTLY -eq 1 ]
|
if [ ! -z "$CFG_ENABLE_NIGHTLY" ]
|
||||||
then
|
then
|
||||||
CFG_RELEASE_CHANNEL=nightly
|
CFG_RELEASE_CHANNEL=nightly
|
||||||
putvar CFG_RELEASE_CHANNEL
|
putvar CFG_RELEASE_CHANNEL
|
||||||
|
Loading…
Reference in New Issue
Block a user