Skip to content

Commit

Permalink
shellcheck is dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Mar 25, 2024
1 parent d57bc76 commit ef9f788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/scripts/build-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function prompt_optdepends() {
dep_const.strip_description "${optdep}" opt
# Let's get just the name
dep_const.split_name_and_version "${opt}" just_name
# shellcheck disable=SC2154
if [[ ${just_name[0]} == *":${CARCH}" ]]; then
just_name[0]="${just_name[0]%%:*}"
optdep="${optdep/\:${CARCH}/}"
Expand Down

0 comments on commit ef9f788

Please sign in to comment.