]> granicus.if.org Git - curl/commitdiff
build-openssl/checksrc.bat: Fixed prepend vs append of Perl path
authorSteve Holme <steve_holme@hotmail.com>
Sun, 6 Mar 2016 20:02:58 +0000 (20:02 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 6 Mar 2016 20:02:58 +0000 (20:02 +0000)
Fixed inconsistency from commit 1eae114065 and 0ad6c72227 of the order
in which Perl was added to the PATH.

projects/build-openssl.bat
projects/checksrc.bat

index 9081b46b216df4cdd220fd1a8c06f5aaa3880508..0773e07db584593fa1ec5373c56be30f9ed265a0 100644 (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%"
index 5359e5ff069cf54891e8f6e51725b21e7f6a67c2..fecfb5bd6217935745e06e4fe7a39ab0c517ff38 100644 (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%"