From 329d00dfba48b6ded22381aa0d3ba63c7697a54a Mon Sep 17 00:00:00 2001 From: Anatoly Techtonik Date: Sun, 12 Jun 2011 17:59:51 +0000 Subject: Fix development bootstrap that was broken by addition of .py extensions for scripts on Windows in r5237 --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- cgit v0.12