[rtems-source-builder commit] sb: Fix --without-release-url logic.
Chris Johns
chrisj at rtems.org
Thu Mar 10 05:53:06 UTC 2016
Module: rtems-source-builder
Branch: 4.11
Commit: 2e548833253cf1fa6f948b2f509ad548bf759bcb
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=2e548833253cf1fa6f948b2f509ad548bf759bcb
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Mar 10 16:48:38 2016 +1100
sb: Fix --without-release-url logic.
Updates #2636.
---
source-builder/sb/download.py | 4 ++--
1 file 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))
#
More information about the vc
mailing list