Skip to content

Commit

Permalink
Update cmdline.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Nov 2, 2024
1 parent 0b26ef8 commit fe89a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmdline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
if test "${A5K_FUNCTIONS_INCLUDED:-false}" = 'false'; then
# Workaround for shells without support for local (example: ksh pbosh obosh)
command 1> /dev/null 2>&1 -v 'local' || {
echo '=============================='
\eval ' local() { :; } ' || :
# On some variants of ksh this really works, but leave the function as dummy fallback
if command 1> /dev/null 2>&1 -v 'typeset'; then alias 'local'='typeset'; fi
Expand Down

0 comments on commit fe89a0a

Please sign in to comment.