OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7c0ec
)
[update] : Use msg.sh for the error of default config
author
hayao
<shun819.mail@gmail.com>
Wed, 7 Oct 2020 09:51:48 +0000
(18:51 +0900)
committer
hayao
<shun819.mail@gmail.com>
Wed, 7 Oct 2020 09:51:48 +0000
(18:51 +0900)
allarch.sh
patch
|
blob
|
history
build.sh
patch
|
blob
|
history
diff --git
a/allarch.sh
b/allarch.sh
index
57ff116
..
c4e1c37
100755
(executable)
--- 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
695be71
..
7d8e15b
100755
(executable)
--- 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