diff options
author | Chris Johns <chrisj@rtems.org> | 2016-03-10 16:48:38 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-03-10 16:48:38 +1100 |
commit | 2e548833253cf1fa6f948b2f509ad548bf759bcb (patch) | |
tree | 746cd25db9a55c681ab9772b474272c4ea60dcb4 | |
parent | sb: Add a download option --with-release-url/--without-release-url. (diff) | |
download | rtems-source-builder-2e548833253cf1fa6f948b2f509ad548bf759bcb.tar.bz2 |
sb: Fix --without-release-url logic.
Updates #2636.
-rw-r--r-- | source-builder/sb/download.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py index 9facf06..affaa65 100644 --- a/source-builder/sb/download.py +++ b/source-builder/sb/download.py @@ -573,8 +573,8 @@ def get_file(url, local, opts, config): pass else: rtems_release_url = with_rel_url[1] - elif with_rel_url[0] == 'without_release-url' and with_rel_url[1] == 'no': - rtems_release_url = rtems_release_url_value + elif with_rel_url[0] == 'without_release-url' and with_rel_url[1] == 'yes': + rtems_release_url = None if rtems_release_url is not None: log.trace('release url: %s' % (rtems_release_url)) # |