Return to menu if test branch cannot load url

This commit is contained in:
Antony Messerli 2015-11-05 10:39:51 -06:00
parent ad52daa3a8
commit f80cc306a7

View file

@ -9,7 +9,7 @@ item testpr ${space} Test netboot.xyz branch
choose --default ${menu} menu || goto utils_exit
echo ${cls}
goto ${menu} ||
chain ${menu}.ipxe || goto error
chain ${menu}.ipxe || goto utils_exit
goto linux_exit
:hdt
@ -48,7 +48,7 @@ echo -n Specify Github User Name: ${} && read github_user
echo -n Specify branch name or shortened commit hash ( i.e. my_feature or 30b7ca ): ${} && read github_hash
echo
echo Attempting to chainload:
chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_hash}/src/menu.ipxe || goto error
chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_hash}/src/menu.ipxe || goto utils_exit
goto utils_exit
:utils_exit