Changeset 152601 in webkit


Ignore:
Timestamp:
Jul 12, 2013 11:57:35 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Tools] Ignore missing GNUmakefile when detecting previous arch in build-webkit
https://bugs.webkit.org/show_bug.cgi?id=91223

Patch by Emanuele Aina <Emanuele Aina> on 2013-07-12
Reviewed by Martin Robinson.

When run on a clean checkout, build-webkit complains that no
GNUmakefile exists when trying to detect the previously configured
architecture, but in this case there's no previous configuration so
the warning is pointless.

  • Scripts/webkitdirs.pm:

(determineArchitecture): Redirect grep stderr to /dev/null.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r152599 r152601  
     12013-07-12  Emanuele Aina  <emanuele.aina@collabora.com>
     2
     3        [Tools] Ignore missing GNUmakefile when detecting previous arch in build-webkit
     4        https://bugs.webkit.org/show_bug.cgi?id=91223
     5
     6        Reviewed by Martin Robinson.
     7
     8        When run on a clean checkout, `build-webkit` complains that no
     9        GNUmakefile exists when trying to detect the previously configured
     10        architecture, but in this case there's no previous configuration so
     11        the warning is pointless.
     12
     13        * Scripts/webkitdirs.pm:
     14        (determineArchitecture): Redirect grep stderr to /dev/null.
     15
    1162013-07-12  Brian Holt  <brian.holt@samsung.com>
    217
  • trunk/Tools/Scripts/webkitdirs.pm

    r152226 r152601  
    295295    if (isGtk()) {
    296296        determineConfigurationProductDir();
    297         my $host_triple = `grep -E '^host = ' $configurationProductDir/GNUmakefile`;
     297        my $host_triple = `grep -E '^host = ' $configurationProductDir/GNUmakefile 2> /dev/null`;
    298298        if ($host_triple =~ m/^host = ([^-]+)-/) {
    299299            # We have a configured build tree; use it.
Note: See TracChangeset for help on using the changeset viewer.