File: precheck.bat

package info (click to toggle)
ftnchek 3.3.1-7
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,684 kB
  • sloc: ansic: 21,908; fortran: 5,748; yacc: 4,071; sh: 3,035; makefile: 895; lisp: 322; f90: 118; perl: 76
file content (28 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
rem Batch file for looking out for situations that will cause the check to fail.
if not exist ..\ftnchek.exe goto NOEXE

rem It would be a good idea to check if CMP.EXE is present somewhere on the
rem search path.  But how to do this?

rem No need to check for .ftnchekrc since this name is illegal under MSDOS/Win32.

if exist ftnchek.ini goto INI
if exist ..\ftnchek.ini goto INI
goto END

:NOEXE
echo ERROR === Cannot run checks: no ftnchek found ===

echo Use CTRL-C to quit batch processing.
pause
goto END

:INI
echo WARNING === ftnchek.ini exists ===
echo Delete or rename it before running check.

echo Use CTRL-C to quit batch processing.
pause
goto END

:END