mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Fixed message when it is not "sourced"
This commit is contained in:
parent
eaae8c84b8
commit
782cfedb67
2 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ source config.sh
|
||||||
(return 0 2>/dev/null) && sourced=1 || sourced=0
|
(return 0 2>/dev/null) && sourced=1 || sourced=0
|
||||||
if [ $sourced -eq 0 ] ; then
|
if [ $sourced -eq 0 ] ; then
|
||||||
cat <<HEREDOC 1>&2
|
cat <<HEREDOC 1>&2
|
||||||
***** ERROR : Must execute as source *****
|
***** ERROR : Must execute as "sourced" *****
|
||||||
Execute as following :
|
Execute as following :
|
||||||
source ubuntu-kaiten-yaki.sh
|
source ubuntu-kaiten-yaki.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,9 @@ source config.sh
|
||||||
(return 0 2>/dev/null) && sourced=1 || sourced=0
|
(return 0 2>/dev/null) && sourced=1 || sourced=0
|
||||||
if [ $sourced -eq 0 ] ; then
|
if [ $sourced -eq 0 ] ; then
|
||||||
cat <<HEREDOC 1>&2
|
cat <<HEREDOC 1>&2
|
||||||
***** ERROR : Must execute as source *****
|
***** ERROR : Must execute as "sourced" *****
|
||||||
Execute as following :
|
Execute as following :
|
||||||
source ubuntu-kaiten-yaki.sh
|
source void-kaiten-yaki.sh
|
||||||
|
|
||||||
Installation terminated.
|
Installation terminated.
|
||||||
HEREDOC
|
HEREDOC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue