mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Fix git-cl quoting, yet again.
Using "%@" will correctly requote quoted arguments. Tested with repro case. The fix in r232184 missed the necessary argument quoting. R=iannucci@chromium.org BUG=314192 BUG=241769 Review URL: https://codereview.chromium.org/47873010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@232501 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
2
git-cl
2
git-cl
@@ -21,7 +21,7 @@ fi
|
||||
# "$base_dir"/update_depot_tools
|
||||
|
||||
if [ -e "$base_dir/python.bat" -a $MINGW = 0 ]; then
|
||||
PYTHONDONTWRITEBYTECODE=1 cmd.exe //c $base_dir\\python.bat $base_dir\\git_cl.py $@
|
||||
PYTHONDONTWRITEBYTECODE=1 cmd.exe //c "$base_dir\\python.bat" "$base_dir\\git_cl.py" "$@"
|
||||
else
|
||||
PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/git_cl.py" "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user