summaryrefslogtreecommitdiffstats
path: root/WebCore/css/make-css-file-arrays.pl
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/css/make-css-file-arrays.pl')
-rwxr-xr-xWebCore/css/make-css-file-arrays.pl10
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;