Use grep -e --force instead of grep "--force" since apparently the latter doesn't work properly in all cases.

BUG=441072
TEST=No errors from gclient :/

Review URL: https://codereview.chromium.org/802513003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293380 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/update_depot_tools b/update_depot_tools
index 039f6cd..7c12122 100755
--- a/update_depot_tools
+++ b/update_depot_tools
@@ -140,7 +140,7 @@
 then
   # Update the root directory to stay up-to-date with the latest depot_tools.
   BEFORE_REVISION=$(get_svn_revision)
-  if echo $* | grep "--force" > /dev/null; then
+  if echo $* | grep -e --force > /dev/null; then
     "$SVN" -q revert -R "$base_dir"
   fi
   "$SVN" -q up "$base_dir"