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
commitdf6b1e6b741abb4f3a4b33b070ba648956dc7e38 (patch)
tree8ef6fa521fbce5011e3b9d8b4d5e318f7948af2f /bootstrap.py
parent252e36d1f7434426d09a347deab6b01b405842fb (diff)
downloadscons-df6b1e6b741abb4f3a4b33b070ba648956dc7e38.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 90917dcf..08df11db 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.