2009-03-17 Gustavo Noronha Silva <gns@gnome.org>
authorkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Mar 2009 22:24:37 +0000 (22:24 +0000)
committerkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Mar 2009 22:24:37 +0000 (22:24 +0000)
        Reviewed by Simon Fraser.

        Fix the usage of the $architecture variable for non-Apple-Mac
        ports.

        * Scripts/webkitdirs.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41790 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/webkitdirs.pm

index c3bb6ad..84b59e2 100644 (file)
@@ -1,3 +1,12 @@
+2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
+
+        Reviewed by Simon Fraser.
+
+        Fix the usage of the $architecture variable for non-Apple-Mac
+        ports.
+
+        * Scripts/webkitdirs.pm:
+
 2009-03-17  David Kilzer  <ddkilzer@apple.com>
 
         Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
 2009-03-17  David Kilzer  <ddkilzer@apple.com>
 
         Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
index dd25176..7219d2d 100644 (file)
@@ -170,6 +170,8 @@ sub determineConfiguration
 sub determineArchitecture
 {
     return if defined $architecture;
 sub determineArchitecture
 {
     return if defined $architecture;
+    # make sure $architecture is defined for non-apple-mac builds
+    $architecture = "";
     return unless isAppleMacWebKit();
 
     determineBaseProductDir();
     return unless isAppleMacWebKit();
 
     determineBaseProductDir();