Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Oct 7, 2024
1 parent 355e407 commit 50412dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmdline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if test "${A5K_FUNCTIONS_INCLUDED:-false}" = 'false'; then
if test -e '/usr/bin/uname' && test "$(/usr/bin/uname 2> /dev/null -o || :)" = 'Msys'; then PATH="/usr/bin:${PATH:-/usr/bin}"; fi

if test -z "${MAIN_DIR-}"; then
# shellcheck disable=SC3028 # Ignore: In POSIX sh, BASH_SOURCE is undefined.
# shellcheck disable=SC3028,SC2128 # Intended: In POSIX sh, BASH_SOURCE is undefined / Expanding an array without an index only gives the first element
if test -n "${BASH_SOURCE-}" && MAIN_DIR="$(dirname "${BASH_SOURCE}")" && MAIN_DIR="$(realpath "${MAIN_DIR}")"; then
export MAIN_DIR
else
Expand Down

0 comments on commit 50412dd

Please sign in to comment.