From ecdfa41dc8f26b6966c8b85d8c24ee1994610bc4 Mon Sep 17 00:00:00 2001 From: Dirk Pranke Date: Wed, 2 Aug 2017 09:25:18 -0700 Subject: [PATCH] Fix quoting in update_depot_tools. The update_depot_tools script had a line where a call out to the test operator ([]) wasn't quoting all of the arguments, leading to errors if a directory had spaces in the name. R=dnj@chromium.org, phajdan.jr@chromium.org Bug: Change-Id: Ie1f5f51891a2582614ed3d9b16375d2ad522360b Reviewed-on: https://chromium-review.googlesource.com/598427 Reviewed-by: Daniel Jacques Commit-Queue: Daniel Jacques --- update_depot_tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_depot_tools b/update_depot_tools index 81e917eb5..bc163f80d 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -39,7 +39,7 @@ else fi fi -if [ -e $base_dir/.disable_auto_update ]; then +if [ -e "$base_dir/.disable_auto_update" ]; then exit fi