]> git.ipfire.org Git - thirdparty/curl.git/commit
projects: Improve Windows perl detection in batch scripts
authorJay Satiro <raysatiro@yahoo.com>
Sat, 11 Aug 2018 20:33:12 +0000 (16:33 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 11 Aug 2018 20:33:12 +0000 (16:33 -0400)
commit220cd241cd8e64c5968df91c6f0a8083b49869ee
treee4bdc30b3aa9772c36d628e31e4ac3fccecbb62e
parentb676b66f4ddc68a0e357fc4cf79b9adb981c8df5
projects: Improve Windows perl detection in batch scripts

- Determine if perl is in the user's PATH by running perl.exe.

Prior to this change detection was done by checking the PATH for perl/
but that did not work in all cases (eg git install includes perl but
not in perl/ path).

Bug: https://github.com/curl/curl/pull/2865
Reported-by: Daniel JeliƄski
projects/build-openssl.bat
projects/checksrc.bat