From 8f9be011b11d96dc4f4832f779b2b4f94fe4e5f0 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 6 Mar 2016 20:02:58 +0000 Subject: [PATCH] build-openssl/checksrc.bat: Fixed prepend vs append of Perl path Fixed inconsistency from commit 1eae114065 and 0ad6c72227 of the order in which Perl was added to the PATH. --- projects/build-openssl.bat | 2 +- projects/checksrc.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat index 9081b46b21..0773e07db5 100644 --- a/projects/build-openssl.bat +++ b/projects/build-openssl.bat @@ -125,7 +125,7 @@ rem *************************************************************************** if errorlevel 1 ( rem It isn't so check we have it installed and set the path if it is if exist "%SystemDrive%\Perl" ( - set "PATH=%PATH%;%SystemDrive%\Perl\bin" + set "PATH=%SystemDrive%\Perl\bin;%PATH%" ) else ( if exist "%SystemDrive%\Perl64" ( set "PATH=%SystemDrive%\Perl64\bin;%PATH%" diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 5359e5ff06..fecfb5bd62 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -53,7 +53,7 @@ rem *************************************************************************** if errorlevel 1 ( rem It isn't so check we have it installed and set the path if it is if exist "%SystemDrive%\Perl" ( - set "PATH=%PATH%;%SystemDrive%\Perl\bin" + set "PATH=%SystemDrive%\Perl\bin;%PATH%" ) else ( if exist "%SystemDrive%\Perl64" ( set "PATH=%SystemDrive%\Perl64\bin;%PATH%"