| Index: update_depot_tools
|
| diff --git a/update_depot_tools b/update_depot_tools
|
| index 039f6cdf694554382f3b8894d3fe1344ae77390f..7c1212251760d5b2e45b98e93c6a3a60496d6ba6 100755
|
| --- a/update_depot_tools
|
| +++ b/update_depot_tools
|
| @@ -140,7 +140,7 @@ if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/.svn" ]
|
| 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"
|
|
|