Commit 224cf1c2 authored by Steve Holme's avatar Steve Holme
Browse files

checksrc.bat: Better detection of Perl installation

parent bb12d444
Loading
Loading
Loading
Loading
+6 −3
Original line number Original line Diff line number Diff line
@@ -6,7 +6,7 @@ rem * / __| | | | |_) | |
rem *                            | (__| |_| |  _ <| |___
rem *                            | (__| |_| |  _ <| |___
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 *
rem * This software is licensed as described in the file COPYING, which
rem * This software is licensed as described in the file COPYING, which
rem * you should have received as part of this distribution. The terms
rem * you should have received as part of this distribution. The terms
@@ -33,8 +33,11 @@ rem ***************************************************************************


:prerequisites
:prerequisites
  rem Check we have Perl installed
  rem Check we have Perl installed
  if not exist "C:\Perl" (
  echo %PATH% | findstr /I /C:"\Perl" 1>nul
    if not exist "C:\Perl64" goto noperl
  if errorlevel 1 (
    if not exist "%SystemDrive%\Perl" (
      if not exist "%SystemDrive%\Perl64" goto noperl
    )
  )
  )


:configure
:configure