commit | 7f2720b72abd077f0e1518891361e7fa51415764 | [log] [tgz] |
---|---|---|
author | pkasting@chromium.org <pkasting@chromium.org> | Wed Dec 10 23:29:25 2014 +0000 |
committer | pkasting@chromium.org <pkasting@chromium.org> | Wed Dec 10 23:29:25 2014 +0000 |
tree | c5c37af0c6817f405624821e2cc5fd905f6befb5 | |
parent | d1e3758a841c6fd005da698fb295dfc5e7c1e99a [diff] |
Avoid =~ since msysgit bash doesn't support it. This uses grep instead. Note that just grepping for "--force" matches other things, e.g. "foo--force--foo", but that's a problem with the original code as well, I think. BUG=435729 TEST=Run gclient under msysgit bash. No error should occur. Review URL: https://codereview.chromium.org/789353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293340 0039d316-1c4b-4281-b951-d872f2087c98