Logically simpler, functionally equivalent.

This commit is contained in:
Tyler Akins 2016-10-25 05:59:52 -05:00
parent 57663d7d34
commit 9b76cadefb
No known key found for this signature in database
GPG Key ID: 8F3B8C432F4393BD

2
mo
View File

@ -898,6 +898,6 @@ MO_ORIGINAL_COMMAND="$(cd "${BASH_SOURCE%/*}" || exit 1; pwd)/${BASH_SOURCE##*/}
# If sourced, load all functions.
# If executed, perform the actions as expected.
if [[ "$0" == "${BASH_SOURCE[0]}" ]] || ! [[ -n "${BASH_SOURCE[0]}" ]]; then
if [[ "$0" == "${BASH_SOURCE[0]}" ]] || [[ -z "${BASH_SOURCE[0]}" ]]; then
mo "$@"
fi