summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-10 16:48:38 +1100
committerChris Johns <chrisj@rtems.org>2016-03-10 16:49:59 +1100
commit84238b95fcfc143f934c3e380b95fe541a5cb770 (patch)
tree43ec3c0613d1e298c164403e06293f11f6614cac
parentsb: Add a download option --with-release-url/--without-release-url. (diff)
downloadrtems-source-builder-84238b95fcfc143f934c3e380b95fe541a5cb770.tar.bz2
sb: Fix --without-release-url logic.
Updates #2636.
-rw-r--r--source-builder/sb/download.py4
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))
#