Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1817)

Unified Diff: bin/sync-and-gyp

Issue 1342543003: sync-and-gyp: Update shell script to correct the syntax of functions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/sync-and-gyp
diff --git a/bin/sync-and-gyp b/bin/sync-and-gyp
index eb0311ae10220e6e930d4fee926bb6eb39b6946f..3a0851b25a643a816eaa1776a2808ace97573212 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"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698