diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-11-20 13:54:09 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-11-20 13:54:09 -0800 |
commit | df6b1e6b741abb4f3a4b33b070ba648956dc7e38 (patch) | |
tree | 8ef6fa521fbce5011e3b9d8b4d5e318f7948af2f | |
parent | 252e36d1f7434426d09a347deab6b01b405842fb (diff) | |
download | scons-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
-rwxr-xr-x | bootstrap.py | 2 |
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. |