Changeset 161215 in webkit


Ignore:
Timestamp:
Jan 2, 2014 12:03:36 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r160846.
http://trac.webkit.org/changeset/160846
https://bugs.webkit.org/show_bug.cgi?id=126395

Breaks build scripts for Windows when Visual Studio is not
installed in Program Files (Requested by rfong on #webkit).

  • Scripts/webkitdirs.pm:

(visualStudioInstallDir):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r161214 r161215  
     12014-01-02  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r160846.
     4        http://trac.webkit.org/changeset/160846
     5        https://bugs.webkit.org/show_bug.cgi?id=126395
     6
     7        Breaks build scripts for Windows when Visual Studio is not
     8        installed in Program Files (Requested by rfong on #webkit).
     9
     10        * Scripts/webkitdirs.pm:
     11        (visualStudioInstallDir):
     12
    1132014-01-02  Martin Robinson  <mrobinson@igalia.com>
    214
  • trunk/Tools/Scripts/webkitdirs.pm

    r160846 r161215  
    433433    return $vsInstallDir if defined $vsInstallDir;
    434434
    435     $vsInstallDir = File::Spec->catdir(programFilesPath(), "Microsoft Visual Studio 12.0");
    436 
     435    if ($ENV{'VSINSTALLDIR'}) {
     436        $vsInstallDir = $ENV{'VSINSTALLDIR'};
     437        $vsInstallDir =~ s|[\\/]$||;
     438    } else {
     439        $vsInstallDir = File::Spec->catdir(programFilesPath(), "Microsoft Visual Studio 12.0");
     440    }
    437441    chomp($vsInstallDir = `cygpath "$vsInstallDir"`) if isCygwin();
    438442
Note: See TracChangeset for help on using the changeset viewer.