Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1372)

Unified Diff: perl/perl_wrap.bat

Issue 10800079: Add wrapper batch file to make sure our 'perl' is first on the path. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « perl/README.google ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: perl/perl_wrap.bat
===================================================================
--- perl/perl_wrap.bat (revision 0)
+++ perl/perl_wrap.bat (revision 0)
@@ -0,0 +1,15 @@
+@echo off
+set drive=%~dp0
+set drivep=%drive%
+If $#\#$==$#%drive:~-1%#$ set drivep=%drive:~0,-1%
+set PATH=%drivep%\perl\site\bin;%drivep%\perl\bin;%drivep%\c\bin;%PATH%
+rem env variables
+set TERM=dumb
+set PERL_JSON_BACKEND=JSON::XS
+set PERL_YAML_BACKEND=YAML
+rem avoid collisions with other perl stuff on your system
+set PERL5LIB=
+set PERL5OPT=
+set PERL_MM_OPT=
+set PERL_MB_OPT=
+perl %*
Property changes on: perl\perl_wrap.bat
___________________________________________________________________
Added: svn:eol-style
+ CRLF
« no previous file with comments | « perl/README.google ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698