diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2016-04-22 13:12:22 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2016-04-22 13:12:22 +0000 |
commit | 5e43957be94fd21d000f4e08060a1af968f005a0 (patch) | |
tree | e2c78b351d6765acb2c3013e7da37de1f7dbd2eb /Master/install-tl-windows.bat | |
parent | e2d904580ff3d48ca4e51f20c5f089204c64dd7d (diff) |
Windows: configuring for exernal perl if found and recent
git-svn-id: svn://tug.org/texlive/trunk@40677 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl-windows.bat')
-rwxr-xr-x | Master/install-tl-windows.bat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/install-tl-windows.bat b/Master/install-tl-windows.bat index 1fe05af0867..ac6ed7904fa 100755 --- a/Master/install-tl-windows.bat +++ b/Master/install-tl-windows.bat @@ -12,6 +12,12 @@ if not ^x==x goto DOS rem Localize environment changes
setlocal enableextensions
+rem version of external perl, if any
+set extperl=0
+for /f "usebackq tokens=2 delims='" %%a in (`perl -V:version 2^>NUL`) do (
+ set extperl=%%a
+)
+
rem Batch subroutines require a cd to the batchfile directory.
rem For UNC paths, pushd will create a temporary mapping.
pushd "%~dp0"
|