mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-23 07:35:19 +00:00
52 lines
883 B
Plaintext
52 lines
883 B
Plaintext
|
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
|