From: Steve Holme Date: Sun, 6 Mar 2016 20:02:58 +0000 (+0000) Subject: build-openssl/checksrc.bat: Fixed prepend vs append of Perl path X-Git-Tag: curl-7_48_0~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f9be011b11d96dc4f4832f779b2b4f94fe4e5f0;p=thirdparty%2Fcurl.git 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. --- 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%"