diff options
Diffstat (limited to 'WebCore/css/make-css-file-arrays.pl')
-rwxr-xr-x | WebCore/css/make-css-file-arrays.pl | 10 |
1 files changed, 1 insertions, 9 deletions
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 = <IN>; } close IN; |