A2osX/MAKE/MAKEMENU.txt
2019-03-31 16:55:22 -04:00

52 lines
883 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

NEW
PREFIX
AUTO 4,1
#!/BIN/SH
#
# This menu will display a menu of options
# for building A2osX system Media and Components.
#
SET MENULOOP = 1
WHILE [ $MENULOOP -EQ 1 ]
ECHO "\f A2osX MAKE Menu\n"
ECHO " 1) List Builds"
ECHO " 2) Copy Latest Build"
ECHO " 3) Delete a Build"
ECHO " 4) Set Build Releases"
ECHO " 5) Make Media"
ECHO "\n X) Exit"
ECHO "\n"
READ -P "Enter Choice: " Z
IF [ -Z $Z ]
#User pressed return with no choice, bad idea
FI
SWITCH $Z
CASE "x"
CASE "X"
EXIT
BREAK
CASE "1"
LISTBUILDS
BREAK
CASE 2
COPYBUILD
BREAK
CASE 3
DELBUILD
BREAK
CASE 4
SETBUILD
BREAK
CASE 5
MAKEMEDIA
BREAK
DEFAULT
ECHO "You entered an invalid choice"
PAUSE
END
LOOP
ECHO
ECHO
MAN
TEXT /MAKE/USR/SHARE/MAKE/MAKEMENU