aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-03-06 20:02:58 +0000
committerSteve Holme <steve_holme@hotmail.com>2016-03-06 20:02:58 +0000
commit8f9be011b11d96dc4f4832f779b2b4f94fe4e5f0 (patch)
tree340bebced5ee2b74c8c7395431e7218b8130637a
parent66fa069f1b28ad8e2266dc67fadcf148f17716ce (diff)
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.
-rw-r--r--projects/build-openssl.bat2
-rw-r--r--projects/checksrc.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat
index 9081b46b2..0773e07db 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 5359e5ff0..fecfb5bd6 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%"