summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2015-11-20 21:54:09 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2015-11-20 21:54:09 (GMT)
commitabf1f461c7d34a00fd2a7348c3d91f10bf382c43 (patch)
tree8ef6fa521fbce5011e3b9d8b4d5e318f7948af2f
parent69d99ab6717f017e85da21b11e6898de18023616 (diff)
downloadSCons-abf1f461c7d34a00fd2a7348c3d91f10bf382c43.zip
SCons-abf1f461c7d34a00fd2a7348c3d91f10bf382c43.tar.gz
SCons-abf1f461c7d34a00fd2a7348c3d91f10bf382c43.tar.bz2
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
-rwxr-xr-xbootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 90917dc..08df11d 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.