diff options
author | Ben Murdoch <benm@google.com> | 2011-05-05 14:36:32 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-05-10 15:38:30 +0100 |
commit | f05b935882198ccf7d81675736e3aeb089c5113a (patch) | |
tree | 4ea0ca838d9ef1b15cf17ddb3928efb427c7e5a1 /WebKitTools/Scripts/pdevenv | |
parent | 60fbdcc62bced8db2cb1fd233cc4d1e4ea17db1b (diff) | |
download | external_webkit-f05b935882198ccf7d81675736e3aeb089c5113a.zip external_webkit-f05b935882198ccf7d81675736e3aeb089c5113a.tar.gz external_webkit-f05b935882198ccf7d81675736e3aeb089c5113a.tar.bz2 |
Merge WebKit at r74534: Initial merge by git.
Change-Id: I6ccd1154fa1b19c2ec2a66878eb675738735f1eb
Diffstat (limited to 'WebKitTools/Scripts/pdevenv')
-rwxr-xr-x | WebKitTools/Scripts/pdevenv | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/WebKitTools/Scripts/pdevenv b/WebKitTools/Scripts/pdevenv deleted file mode 100755 index 4643728..0000000 --- a/WebKitTools/Scripts/pdevenv +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/perl -w - -use strict; -use warnings; - -use File::Temp qw/tempfile/; -use FindBin; - -use lib $FindBin::Bin; -use webkitdirs; - -my ($fh, $path) = tempfile(UNLINK => 0, SUFFIX => '.cmd') or die; - -chomp(my $vcBin = `cygpath -w "$FindBin::Bin/../vcbin"`); -chomp(my $scriptsPath = `cygpath -w "$FindBin::Bin"`); - -my $vsToolsVar; -if ($ENV{'VS80COMNTOOLS'}) { - $vsToolsVar = "VS80COMNTOOLS"; -} elsif ($ENV{'VS90COMNTOOLS'}) { - $vsToolsVar = "VS90COMNTOOLS"; -} else { - print "*************************************************************\n"; - print "Cannot find Visual Studio tools dir.\n"; - print "Please ensure that \$VS80COMNTOOLS or \$VS90COMNTOOLS\n"; - print "is set to a valid location.\n"; - print "*************************************************************\n"; - die; -} - -print $fh "\@echo off\n\n"; -print $fh "call \"\%" . $vsToolsVar . "\%\\vsvars32.bat\"\n\n"; -print $fh "set PATH=$vcBin;$scriptsPath;\%PATH\%\n\n"; - -print $fh "IF EXIST \"\%VSINSTALLDIR\%\\Common7\\IDE\\devenv.com\" (devenv.com /useenv " . join(" ", @ARGV) . ") ELSE "; -print $fh "VCExpress.exe /useenv " . join(" ", @ARGV) . "\n"; - - -close $fh; - -chmod 0755, $path; - -chomp($path = `cygpath -w -s '$path'`); - -exec("cmd /c \"call $path\""); |