Clear vars on branch testing

This commit is contained in:
Antony Messerli 2015-11-29 12:37:55 -06:00
parent 89cc2c95fb
commit 0dd7bb2430

View file

@ -59,13 +59,15 @@ boot
goto utils_exit
:testpr
clear github_user
clear github_hash
echo This will chainload into a testing branch of netboot.xyz. You'll need to enter
echo your Github User and the first part of the commit hash of the commit you want
echo to test or the branch name. This assumes you are testing from a netboot.xyz
echo repo.
echo
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 -n Specify branch name or 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 || echo Unable to find branch... && sleep 5 && goto utils_exit