Some slight aesthetic changes
This commit is contained in:
parent
76964f363e
commit
21f0a91eaa
2 changed files with 8 additions and 8 deletions
|
@ -255,5 +255,5 @@ inline_doc
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
set -e
|
set -e
|
||||||
echo "$tab_***${BOLD}${GREEN} ${PARAM_GROUP%%_*T} config parameters look good${OFF} ***"
|
echo "${nl_}***${BOLD}${GREEN} ${PARAM_GROUP%%_*T} config parameters look good${OFF} ***${nl_}"
|
||||||
}
|
}
|
||||||
|
|
14
master.sh
14
master.sh
|
@ -71,7 +71,7 @@ source $MODULE
|
||||||
[[ $? > 0 ]] && echo "$MODULE did not load.." && exit 2
|
[[ $? > 0 ]] && echo "$MODULE did not load.." && exit 2
|
||||||
[[ $VERBOSITY > 0 ]] && echo "OK"
|
[[ $VERBOSITY > 0 ]] && echo "OK"
|
||||||
#
|
#
|
||||||
[[ $VERBOSITY > 0 ]] && echo "---------------${nl_}"
|
[[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}"
|
||||||
|
|
||||||
|
|
||||||
#===========================================================
|
#===========================================================
|
||||||
|
@ -92,7 +92,7 @@ source $COMMON_DIR/func_check_version.sh
|
||||||
source $COMMON_DIR/func_validate_configs.sh
|
source $COMMON_DIR/func_validate_configs.sh
|
||||||
[[ $? > 0 ]] && echo " function module did not load.." && exit 2
|
[[ $? > 0 ]] && echo " function module did not load.." && exit 2
|
||||||
[[ $VERBOSITY > 0 ]] && echo "OK"
|
[[ $VERBOSITY > 0 ]] && echo "OK"
|
||||||
[[ $VERBOSITY > 0 ]] && echo "---------------${nl_}"
|
[[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}"
|
||||||
|
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
|
@ -432,10 +432,10 @@ check_version "3.0" "$BASH_VERSION" "BASH"
|
||||||
check_version "3.0" "`gcc -dumpversion`" "GCC"
|
check_version "3.0" "`gcc -dumpversion`" "GCC"
|
||||||
tarVer=`tar --version`
|
tarVer=`tar --version`
|
||||||
check_version "1.15.0" "${tarVer##* }" "TAR"
|
check_version "1.15.0" "${tarVer##* }" "TAR"
|
||||||
echo "---------------${nl_}"
|
echo "${SD_BORDER}${nl_}"
|
||||||
|
|
||||||
validate_config
|
validate_config
|
||||||
echo "---------------${nl_}"
|
echo "${SD_BORDER}${nl_}"
|
||||||
|
|
||||||
echo -n "Are you happy with these settings? yes/no (no): "
|
echo -n "Are you happy with these settings? yes/no (no): "
|
||||||
read ANSWER
|
read ANSWER
|
||||||
|
@ -443,7 +443,7 @@ if [ x$ANSWER != "xyes" ] ; then
|
||||||
echo "${nl_}Fix the configuration options and rerun the script.${nl_}"
|
echo "${nl_}Fix the configuration options and rerun the script.${nl_}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "${nl_}---------------${nl_}"
|
echo "${nl_}${SD_BORDER}${nl_}"
|
||||||
|
|
||||||
# Prevents setting "-d /" by mistake.
|
# Prevents setting "-d /" by mistake.
|
||||||
|
|
||||||
|
@ -495,10 +495,10 @@ fi
|
||||||
>$LOGDIR/$LOG
|
>$LOGDIR/$LOG
|
||||||
|
|
||||||
get_book
|
get_book
|
||||||
echo "---------------${nl_}"
|
echo "${SD_BORDER}${nl_}"
|
||||||
|
|
||||||
build_Makefile
|
build_Makefile
|
||||||
echo "---------------${nl_}"
|
echo "${SD_BORDER}${nl_}"
|
||||||
|
|
||||||
run_make
|
run_make
|
||||||
|
|
||||||
|
|
Reference in a new issue