[rtems-source-builder commit] Fix the check to see if the path is writable.
Chris Johns
chrisj at rtems.org
Mon Jan 26 00:57:50 UTC 2015
Module: rtems-source-builder
Branch: master
Commit: eeded980e53d8f71d7b4c62d438a72fecb1d3211
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=eeded980e53d8f71d7b4c62d438a72fecb1d3211
Author: Chris Johns <chrisj at rtems.org>
Date: Mon Jan 26 11:57:43 2015 +1100
Fix the check to see if the path is writable.
---
source-builder/sb/setbuilder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)))
More information about the vc
mailing list