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.
This commit is contained in:
Steve Holme 2016-03-06 20:02:58 +00:00
parent 66fa069f1b
commit 8f9be011b1
2 changed files with 2 additions and 2 deletions

View File

@ -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%"

View File

@ -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%"