Index: gclient.py |
=================================================================== |
--- gclient.py (revision 22609) |
+++ gclient.py (working copy) |
@@ -1233,8 +1233,8 @@ |
command[0] = sys.executable |
if '$matching_files' in command: |
- command.remove('$matching_files') |
- command.extend(matching_file_list) |
+ splice_index = command.index('$matching_files') |
+ command[splice_index:splice_index + 1] = matching_file_list |
M-A Ruel
2009/08/06 16:57:12
That works for multiple files? If so, lgtm.
|
# Use a discrete exit status code of 2 to indicate that a hook action |
# failed. Users of this script may wish to treat hook action failures |