diff options
author | Anatoly Techtonik <techtonik@gmail.com> | 2011-06-12 17:59:51 (GMT) |
---|---|---|
committer | Anatoly Techtonik <techtonik@gmail.com> | 2011-06-12 17:59:51 (GMT) |
commit | 329d00dfba48b6ded22381aa0d3ba63c7697a54a (patch) | |
tree | ee2fc75bd1b66e16898a98684eb2489d6c989f85 | |
parent | 0a8cdb74b2573d1a22eb1700f1429caf57c07ca6 (diff) | |
download | SCons-329d00dfba48b6ded22381aa0d3ba63c7697a54a.zip SCons-329d00dfba48b6ded22381aa0d3ba63c7697a54a.tar.gz SCons-329d00dfba48b6ded22381aa0d3ba63c7697a54a.tar.bz2 |
Fix development bootstrap that was broken by addition of .py extensions
for scripts on Windows in r5237
-rw-r--r-- | SConstruct | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1093,7 +1093,9 @@ for p in [ scons ]: ] for script in scripts: - #commands.append("mv %s/%s %s/%s.py" % (local, script, local, script)) + # add .py extension for scons-local scripts on non-windows platforms + if platform == "win32": + break local_script = os.path.join(build_dir_local, script) commands.append(Move(local_script + '.py', local_script)) |