From dcc8cf2e65d1aa555cce12431a16547e66b469ee Mon Sep 17 00:00:00 2001 From: Steve Block Date: Tue, 27 Apr 2010 16:31:00 +0100 Subject: Merge webkit.org at r58033 : Initial merge by git Change-Id: If006c38561af287c50cd578d251629b51e4d8cd1 --- WebCore/css/make-css-file-arrays.pl | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'WebCore/css/make-css-file-arrays.pl') diff --git a/WebCore/css/make-css-file-arrays.pl b/WebCore/css/make-css-file-arrays.pl index 05c8fd1..dad530c 100755 --- a/WebCore/css/make-css-file-arrays.pl +++ b/WebCore/css/make-css-file-arrays.pl @@ -23,14 +23,6 @@ use strict; use Getopt::Long; -my $preprocessor; - -GetOptions('preprocessor=s' => \$preprocessor); - -if (!$preprocessor) { - $preprocessor = "/usr/bin/gcc -E -P -x c++"; -} - my $header = $ARGV[0]; shift; @@ -48,7 +40,7 @@ for my $in (@ARGV) { my $name = $1; # Slurp in the CSS file. - open IN, $preprocessor . " " . $in . "|" or die; + open IN, "<", $in or die; my $text; { local $/; $text = ; } close IN; -- cgit v1.1