Reviewed by Darin.
Kill warnings when generating IDL files on Qt/Linux, as the
SOURCE_ROOT environment variable is not defined (and not needed) for us.
* bindings/scripts/CodeGenerator.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16896
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-10-08 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by Darin.
+
+ Kill warnings when generating IDL files on Qt/Linux, as the
+ SOURCE_ROOT environment variable is not defined (and not needed) for us.
+
+ * bindings/scripts/CodeGenerator.pm:
+
2006-10-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
return if ($endCondition eq 1) and ($reportAllFiles eq 0);
- $thisDir = "$ENV{SOURCE_ROOT}/$directory";
+ my $sourceRoot = $ENV{SOURCE_ROOT} || "";
+ $thisDir = "$sourceRoot/$directory";
+
opendir(DIR, $thisDir) or die "[ERROR] Can't open directory $thisDir: \"$!\"\n";
my @names = readdir(DIR) or die "[ERROR] Cant't read directory $thisDir \"$!\"\n";