Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Sep 11, 2024
1 parent 02d6726 commit 3c515da
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion includes/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,12 @@ dropme()
fi
}

alias_cmd()
{
# shellcheck disable=SC2139 # Ignore: This expands when defined, not when used
alias "${1:?}"="busybox '${1:?}'"
}

alias_cmd_if_missing()
{
# shellcheck disable=SC2139 # Ignore: This expands when defined, not when used
Expand Down Expand Up @@ -1237,7 +1243,7 @@ init_cmdline()
if test "${PLATFORM:?}" = 'win'; then
alias_cmd_if_missing 'drop'
alias_cmd_if_missing 'make'
alias_cmd_if_missing 'pdpmake'
alias_cmd 'pdpmake'
fi
fi

Expand Down

0 comments on commit 3c515da

Please sign in to comment.