sync-and-gyp: Update shell script to correct the syntax of functions

R=halcanary@gmail.com

Review URL: https://codereview.chromium.org/1342543003 .
This commit is contained in:
Hal Canary 2015-09-11 20:49:00 -04:00
parent eddbefb4a5
commit 94475cdbfb

View File

@ -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"