summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-01-26 11:57:43 +1100
committerChris Johns <chrisj@rtems.org>2015-01-26 11:57:43 +1100
commiteeded980e53d8f71d7b4c62d438a72fecb1d3211 (patch)
treeb1a02678765ee7b7d68c1623a13b3f597a2962f0
parentAdd Google Protocol Buffers as a 3prd party package for RTEMS. (diff)
downloadrtems-source-builder-eeded980e53d8f71d7b4c62d438a72fecb1d3211.tar.bz2
Fix the check to see if the path is writable.
-rw-r--r--source-builder/sb/setbuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index 34fe8b8..8e5d8bb 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -459,7 +459,7 @@ def run():
if not list_bset_cfg_files(opts, configs):
prefix = opts.defaults.expand('%{_prefix}')
if not opts.dry_run() and \
- not not opts.canadian_cross() and \
+ not opts.canadian_cross() and \
not opts.no_install() and \
not path.ispathwritable(prefix):
raise error.general('prefix is not writable: %s' % (path.host(prefix)))