diff options
author | Steven Knight <knight@baldmt.com> | 2009-02-07 13:03:42 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-02-07 13:03:42 (GMT) |
commit | 007495f160053a41347ea3040a3feef3d4da8229 (patch) | |
tree | b6ffe25433c686a01e2aefb6ad4486f9dd687c6a | |
parent | dcdbfee397b1953f4121d6910b0285b6cfb2bd9a (diff) | |
download | SCons-007495f160053a41347ea3040a3feef3d4da8229.zip SCons-007495f160053a41347ea3040a3feef3d4da8229.tar.gz SCons-007495f160053a41347ea3040a3feef3d4da8229.tar.bz2 |
Fix execution on systems where qmtest is in a path that contains spaces
(C:\Program Files\Python24\Scripts) by just using the found qmtest name.
-rw-r--r-- | runtest.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -277,7 +277,9 @@ except NameError: for q in ['qmtest', 'qmtest.py']: path = whereis(q) if path: - qmtest = path + # The name was found on $PATH; just execute the found name so + # we don't have to worry about paths containing white space. + qmtest = q break if not qmtest: msg = ('Warning: found neither qmtest nor qmtest.py on $PATH;\n' + |