From 38c4426ca48e86d53b264dff5501778c8afd9843 Mon Sep 17 00:00:00 2001 From: "ilevy@chromium.org" Date: Fri, 9 Nov 2012 06:53:41 +0000 Subject: [PATCH] Fix gclient "skip update on certain commands", again Not all developers have =~ support in bash, apparently. Switching to standard globbing. R=tapted TBR=maruel Review URL: https://codereview.chromium.org/11369147 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166867 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gclient b/gclient index 6bc1f6172..7c57dfdea 100755 --- a/gclient +++ b/gclient @@ -5,7 +5,7 @@ base_dir=$(dirname "$0") -if ! [[ "#grep#fetch#cleanup#diff#" =~ "#$1#" ]]; then +if [[ "#grep#fetch#cleanup#diff#" != *"#$1#"* ]]; then "$base_dir"/update_depot_tools fi