Skip to content

Commit

Permalink
v1.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Mar 4, 2024
1 parent c0634b5 commit 4838247
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.2.x
v1.3.x
20 changes: 16 additions & 4 deletions toaster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,23 @@ _command() {
_success() {
echo
_echo "+ $@" 2
exit 0

if [ "$@" == "" ]; then
exit 0
else
return "$@"
fi
}

_error() {
echo
_echo "- $@" 1
exit 1

if [ "$@" == "" ]; then
exit 1
else
return "$@"
fi
}

_replace() {
Expand Down Expand Up @@ -259,6 +269,8 @@ _cdw() {
printf "${_DIR}" >${TEMP}

_command "cd ${_DIR}"

_RESULT="${_DIR}"
}

_env() {
Expand Down Expand Up @@ -510,7 +522,7 @@ _region() {

printf "${_REGION}" >${TEMP}

# _result "${_REGION}"
_RESULT="${_REGION}"
}

_set_region() {
Expand Down Expand Up @@ -1304,4 +1316,4 @@ _toast() {

_toast

_success
_success "${_RESULT}"

0 comments on commit 4838247

Please sign in to comment.