Don't redirect in if stmt.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -10s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -10s
This commit is contained in:
parent
125e59d5f0
commit
1b8e8b8590
|
@ -21,7 +21,7 @@ $(MAKE_ON_MSX_BIN)/build.bat: $(MAKE_ON_MSX_SRC)/build.bat | $(MAKE_ON_MSX_BIN)/
|
||||||
|
|
||||||
BUILD_HELP += \\n\\t* $(MAKE_ON_MSX_BIN)/nfbsshot.bin
|
BUILD_HELP += \\n\\t* $(MAKE_ON_MSX_BIN)/nfbsshot.bin
|
||||||
$(MAKE_ON_MSX_BIN)/nfbsshot.bin: | $(MAKE_ON_MSX_BIN)/build.bat
|
$(MAKE_ON_MSX_BIN)/nfbsshot.bin: | $(MAKE_ON_MSX_BIN)/build.bat
|
||||||
$(call mb_autoexec_safe_cmd,$(MAKE_ON_MSX_BIN),build exit)
|
$(call mb_autoexec_safe_cmd,$(MAKE_ON_MSX_BIN),build shutdown)
|
||||||
$(call mb_openmsx_dosctl,$(MAKE_ON_MSX_BIN))
|
$(call mb_openmsx_dosctl,$(MAKE_ON_MSX_BIN))
|
||||||
|
|
||||||
BUILD_HELP += \\n\\t* $(MAKE_ON_MSX_BIN)/@assert
|
BUILD_HELP += \\n\\t* $(MAKE_ON_MSX_BIN)/@assert
|
||||||
|
|
|
@ -13,14 +13,16 @@ dir/w utils
|
||||||
copy /T NFBSSHOT.BAK NFBSSHOT.MAC
|
copy /T NFBSSHOT.BAK NFBSSHOT.MAC
|
||||||
echo === Running make
|
echo === Running make
|
||||||
omsxctl fail_after 300 seconds failed_make 1
|
omsxctl fail_after 300 seconds failed_make 1
|
||||||
|
echo "dir" > build1.bat
|
||||||
make NFBSSHOT.MF /x > build2.bat
|
make NFBSSHOT.MF /x > build2.bat
|
||||||
echo === Concat shutdown
|
echo === Concat shutdown
|
||||||
echo "dir" > build1.bat
|
|
||||||
echo "dir" > build3.bat
|
echo "dir" > build3.bat
|
||||||
echo "" > build4.bat
|
IFF "shutdown" == %1
|
||||||
IFF "exit" == %1
|
SET lastcmd=shutdown
|
||||||
echo "shutdown" > build4.bat
|
ELSE
|
||||||
|
SET lastcmd=omsxctl fail_after 0
|
||||||
ENDIFF
|
ENDIFF
|
||||||
|
echo %lastcmd% > build4.bat
|
||||||
concat build1.bat + build2.bat + build3.bat + build4.bat buildrun.bat
|
concat build1.bat + build2.bat + build3.bat + build4.bat buildrun.bat
|
||||||
echo === Final script
|
echo === Final script
|
||||||
type buildrun.bat
|
type buildrun.bat
|
||||||
|
|
Loading…
Reference in a new issue