mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
checksrc.bat: Better detection of Perl installation
This commit is contained in:
parent
bb12d44471
commit
224cf1c274
@ -6,7 +6,7 @@ rem * / __| | | | |_) | |
|
||||
rem * | (__| |_| | _ <| |___
|
||||
rem * \___|\___/|_| \_\_____|
|
||||
rem *
|
||||
rem * Copyright (C) 2014, Steve Holme, <steve_holme@hotmail.com>.
|
||||
rem * Copyright (C) 2014 - 2015, Steve Holme, <steve_holme@hotmail.com>.
|
||||
rem *
|
||||
rem * This software is licensed as described in the file COPYING, which
|
||||
rem * you should have received as part of this distribution. The terms
|
||||
@ -33,8 +33,11 @@ rem ***************************************************************************
|
||||
|
||||
:prerequisites
|
||||
rem Check we have Perl installed
|
||||
if not exist "C:\Perl" (
|
||||
if not exist "C:\Perl64" goto noperl
|
||||
echo %PATH% | findstr /I /C:"\Perl" 1>nul
|
||||
if errorlevel 1 (
|
||||
if not exist "%SystemDrive%\Perl" (
|
||||
if not exist "%SystemDrive%\Perl64" goto noperl
|
||||
)
|
||||
)
|
||||
|
||||
:configure
|
||||
|
Loading…
Reference in New Issue
Block a user