[rtems-source-builder commit] sb: Fix --without-release-url logic.

Chris Johns chrisj at rtems.org
Thu Mar 10 05:52:45 UTC 2016


Module:    rtems-source-builder
Branch:    master
Commit:    84238b95fcfc143f934c3e380b95fe541a5cb770
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=84238b95fcfc143f934c3e380b95fe541a5cb770

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