summaryrefslogtreecommitdiff
path: root/bootstrap.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2015-11-20 13:54:09 -0800
committerWilliam Deegan <bill@baddogconsulting.com>2015-11-20 13:54:09 -0800
commitabf1f461c7d34a00fd2a7348c3d91f10bf382c43 (patch)
tree8ef6fa521fbce5011e3b9d8b4d5e318f7948af2f /bootstrap.py
parent69d99ab6717f017e85da21b11e6898de18023616 (diff)
downloadscons-git-abf1f461c7d34a00fd2a7348c3d91f10bf382c43.tar.gz
fix bootstrap.py issue where changes weren't updating bootstrap dir. filecmp.cmp(a,b) returns False when files aren't equal. The opposite of the expected return value
Diffstat (limited to 'bootstrap.py')
-rwxr-xr-xbootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 90917dcfd..08df11db2 100755
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -129,7 +129,7 @@ def main():
def must_copy(dst, src):
if not os.path.exists(dst):
return 1
- return filecmp.cmp(dst,src)
+ return not filecmp.cmp(dst,src)
# Note: We don't use the getopt module to process the command-line
# arguments because we'd have to teach it about all of the SCons options.