diff options
author | Hal Canary <halcanary@google.com> | 2015-09-11 20:49:00 -0400 |
---|---|---|
committer | Hal Canary <halcanary@google.com> | 2015-09-11 20:49:00 -0400 |
commit | 94475cdbfb4bb07b12ef0d5f18db4c4375e357cc (patch) | |
tree | 7a364c8b1c8973381cfb6268eff6fb3412989dd6 /bin | |
parent | eddbefb4a5794b1d9f4e58a7cdf4e768b837c17f (diff) |
sync-and-gyp: Update shell script to correct the syntax of functions
R=halcanary@gmail.com
Review URL: https://codereview.chromium.org/1342543003 .
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/sync-and-gyp | 4 |
1 files 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" |