shims/mac/super/pkg-config: repair style
This commit is contained in:
parent
90290aa8ef
commit
7463023fc7
@ -1,11 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
pkg_config="$HOMEBREW_OPT/pkg-config/bin/pkg-config"
|
||||
# shellcheck disable=SC2154
|
||||
pkg_config="${HOMEBREW_OPT}/pkg-config/bin/pkg-config"
|
||||
|
||||
if [ -z "$HOMEBREW_SDKROOT" ]; then
|
||||
exec "$pkg_config" "$@"
|
||||
if [ -z "${HOMEBREW_SDKROOT}" ]; then
|
||||
exec "${pkg_config}" "$@"
|
||||
fi
|
||||
|
||||
exec "$pkg_config" \
|
||||
"--define-variable=homebrew_sdkroot=$HOMEBREW_SDKROOT" \
|
||||
exec "${pkg_config}" \
|
||||
"--define-variable=homebrew_sdkroot=${HOMEBREW_SDKROOT}" \
|
||||
"$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user