From: hayao Date: Wed, 7 Oct 2020 09:51:48 +0000 (+0900) Subject: [update] : Use msg.sh for the error of default config X-Git-Tag: rc3-alpha1~134 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=95af1b7afd486c184fdf83470b3d5b440c86fc0a;p=alterlinux%2Falterlinux.git [update] : Use msg.sh for the error of default config --- diff --git a/allarch.sh b/allarch.sh index 57ff1160..c4e1c375 100755 --- a/allarch.sh +++ b/allarch.sh @@ -27,7 +27,7 @@ alteriso_version="3.0" if [[ -f "${defaultconfig}" ]]; then source "${defaultconfig}" else - echo "${defaultconfig} was not found." + "${script_path}/tools/msg.sh" -a 'allarch.sh' error "${defaultconfig} was not found." exit 1 fi diff --git a/build.sh b/build.sh index 695be717..7d8e15b4 100755 --- a/build.sh +++ b/build.sh @@ -27,7 +27,7 @@ alteriso_version="3.0" if [[ -f "${defaultconfig}" ]]; then source "${defaultconfig}" else - echo "${defaultconfig} was not found." + "${script_path}/tools/msg.sh" -a 'build.sh' error "${defaultconfig} was not found." exit 1 fi