From 94475cdbfb4bb07b12ef0d5f18db4c4375e357cc Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Fri, 11 Sep 2015 20:49:00 -0400 Subject: sync-and-gyp: Update shell script to correct the syntax of functions R=halcanary@gmail.com Review URL: https://codereview.chromium.org/1342543003 . --- bin/sync-and-gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sync-and-gyp b/bin/sync-and-gyp index eb0311ae10..3a0851b25a 100755 --- a/bin/sync-and-gyp +++ b/bin/sync-and-gyp @@ -37,9 +37,9 @@ if [ "$(git hash-object DEPS)" != "$(git config sync-deps.last)" ] ; then git config sync-deps.last "$(git hash-object DEPS)" fi -function catifexists() { if [ -f "$1" ]; then cat "$1"; fi; } +catifexists() { if [ -f "$1" ]; then cat "$1"; fi; } -function gyp_hasher() { +gyp_hasher() { { echo "$CC" echo "$CXX" -- cgit v1.2.3