diff options
author | Christian Goetze <cg@lindenlab.com> | 2008-01-15 18:26:59 +0000 |
---|---|---|
committer | Christian Goetze <cg@lindenlab.com> | 2008-01-15 18:26:59 +0000 |
commit | e4b451015e73cefecaf9966afb56bdf623539c62 (patch) | |
tree | 19d516f2f87d0a3dda6becea23197fca641cd123 /scripts/update_version_files.py | |
parent | e7a8acadc46c4466f088dfca05c15f854321d69d (diff) |
Added workaround for popen bug in scripts/update_version_files.py
when executable is in a weird location...
Diffstat (limited to 'scripts/update_version_files.py')
-rwxr-xr-x | scripts/update_version_files.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/update_version_files.py b/scripts/update_version_files.py index d06e475341..6821623332 100755 --- a/scripts/update_version_files.py +++ b/scripts/update_version_files.py @@ -61,6 +61,9 @@ Common Uses: def _getstatusoutput(cmd): """Return Win32 (status, output) of executing cmd in a shell.""" + if os.path.sep != "/": + # stupid #%#$$ windows + cmd = 'cmd.exe /c "'+cmd+'"' pipe = os.popen(cmd, 'r') text = pipe.read() sts = pipe.close() |