1998-04-09 01:45:30 +00:00
|
|
|
REM @ECHO OFF
|
|
|
|
|
|
|
|
REM Skip ahead to CONT1 if FG_ROOT has a value
|
|
|
|
IF NOT %FG_ROOT%.==. GOTO CONT1
|
|
|
|
|
|
|
|
SET FG_ROOT=@prefix@
|
|
|
|
|
|
|
|
:CONT1
|
|
|
|
|
|
|
|
REM Check for the existance of the executable
|
1998-04-18 04:11:25 +00:00
|
|
|
IF NOT EXIST %FG_ROOT%\BIN\FG.EXE GOTO ERROR1
|
1998-04-09 01:45:30 +00:00
|
|
|
|
|
|
|
REM Now that FG_ROOT has been set, run the program
|
|
|
|
ECHO FG_ROOT = %FG_ROOT%
|
1998-04-18 04:11:25 +00:00
|
|
|
%FG_ROOT%\BIN\FG.EXE
|
1998-04-09 01:45:30 +00:00
|
|
|
|
|
|
|
GOTO END
|
|
|
|
|
|
|
|
:ERROR1
|
1998-04-18 04:11:25 +00:00
|
|
|
ECHO Cannot find %FG_ROOT%\BIN\FG.EXE
|
1998-04-09 01:45:30 +00:00
|
|
|
GOTO END
|
|
|
|
|
|
|
|
:END
|