summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Techtonik <techtonik@gmail.com>2011-06-12 17:59:51 (GMT)
committerAnatoly Techtonik <techtonik@gmail.com>2011-06-12 17:59:51 (GMT)
commit329d00dfba48b6ded22381aa0d3ba63c7697a54a (patch)
treeee2fc75bd1b66e16898a98684eb2489d6c989f85
parent0a8cdb74b2573d1a22eb1700f1429caf57c07ca6 (diff)
downloadSCons-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--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a3ca5ed..1748b5b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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))