diff options
author | Anatoly Techtonik <techtonik@gmail.com> | 2011-06-12 17:59:51 +0000 |
---|---|---|
committer | Anatoly Techtonik <techtonik@gmail.com> | 2011-06-12 17:59:51 +0000 |
commit | af6e4e61541fc2e85d7dd14ec8a59d47dab29a73 (patch) | |
tree | ee2fc75bd1b66e16898a98684eb2489d6c989f85 | |
parent | c9a3c759f92f802e09d4f666aa75632067b58458 (diff) | |
download | scons-af6e4e61541fc2e85d7dd14ec8a59d47dab29a73.tar.gz |
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)) |