Some little fixes.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1339 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2004-02-29 01:33:49 +00:00
parent ec6fc4867e
commit 6f829438bf
3 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -230,12 +230,12 @@ uqm_process_config() {
uqm_load_config()
{
menu_load MENU main "$BUILD_WORK/config.state"
do_menu_load MENU main "$BUILD_WORK/config.state"
}
uqm_save_config()
{
menu_save MENU main "$BUILD_WORK/config.state"
do_menu_save MENU main "$BUILD_WORK/config.state"
}
uqm_pre_build() {
+3
View File
@@ -124,7 +124,9 @@ build_config() {
config_requirements
eval "${TARGET}_requirements"
eval "${TARGET}_prepare_config"
eval "${TARGET}_load_config"
eval "${TARGET}_do_config"
eval "${TARGET}_save_config"
}
build_reconfig() {
@@ -133,6 +135,7 @@ build_reconfig() {
fi
config_requirements
eval "${TARGET}_requirements"
eval "${TARGET}_load_config"
build_process_config
echo "Reconfiguring complete..." 1>&2
}
+2 -2
View File
@@ -620,7 +620,7 @@ do_menu() {
# $3 - the name of the file to load from
# Returns: 0 - if the file was loaded successfully
# 1 - if the file did not exist
menu_load() {
do_menu_load() {
SAVE_FILE=$3
if [ ! -e "$SAVE_FILE" ]; then
@@ -636,7 +636,7 @@ menu_load() {
# $2 - the name of the menu
# $3 - the name of the file to save to
# Returns: 0 - if the file was saved successfully
menu_save() {
do_menu_save() {
MENU_TYPE=$1
START_MENU=$2
SAVE_FILE=$3