diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-16 17:16:31 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-16 17:16:31 +0000 |
commit | 41951f8577d077c5389a6a8a7e48b9e3edfd959d (patch) | |
tree | 23666b02fa29079790c92092e64ad04e560d75fb /webkit | |
parent | f4fe0c4f4b2a0172bb30a4f9d5bf567beca2412d (diff) | |
download | chromium_src-41951f8577d077c5389a6a8a7e48b9e3edfd959d.zip chromium_src-41951f8577d077c5389a6a8a7e48b9e3edfd959d.tar.gz chromium_src-41951f8577d077c5389a6a8a7e48b9e3edfd959d.tar.bz2 |
If gperf fails, this script marches on and causes a mystery failure later. So catch failure here and die.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/pending/makeprop.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/pending/makeprop.pl b/webkit/pending/makeprop.pl index 519f67d..08e20f9 100644 --- a/webkit/pending/makeprop.pl +++ b/webkit/pending/makeprop.pl @@ -89,7 +89,7 @@ EOF close HEADER; -system("gperf -a -L ANSI-C -E -C -c -o -t --key-positions=\"*\" -NfindProp -Hhash_prop -Wwordlist_prop -D -s 2 CSSPropertyNames.gperf > CSSPropertyNames.c"); +system("gperf -a -L ANSI-C -E -C -c -o -t --key-positions=\"*\" -NfindProp -Hhash_prop -Wwordlist_prop -D -s 2 CSSPropertyNames.gperf > CSSPropertyNames.c") == 0 || die "calling gperf failed: $?"; open C, ">>CSSPropertyNames.c" || die "Could not open CSSPropertyNames.c for writing"; print C "static const char * const propertyList[] = {\n"; |