add comments about ENV
This commit is contained in:
parent
7463023fc7
commit
34919c45f2
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# HOMEBREW_CCCFG is set by extend/ENV/super.rb
|
||||
# HOMEBREW_LIBRARY is set by bin/brew
|
||||
# shellcheck disable=SC2154,SC2250
|
||||
pathremove() {
|
||||
local IFS=':' NEWPATH="" DIR="" PATHVARIABLE=${2:-PATH}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# HOMEBREW_CCCFG and HOMEBREW_SDKROOT are set by extend/ENV/super.rb
|
||||
# shellcheck disable=SC2154
|
||||
if [[ "${HOMEBREW_CCCFG}" = *a* ]]
|
||||
then
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
# HOMEBREW_CCCFG is set by extend/ENV/super.rb
|
||||
if [[ -n "${HOMEBREW_MAKE}" && "${HOMEBREW_MAKE}" != "make" ]]
|
||||
then
|
||||
export MAKE="${HOMEBREW_MAKE}"
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# HOMEBREW_OPT and HOMEBREW_SDKROOT are set by extend/ENV/super.rb
|
||||
# shellcheck disable=SC2154
|
||||
pkg_config="${HOMEBREW_OPT}/pkg-config/bin/pkg-config"
|
||||
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
# System Ruby's mkmf on Mojave (10.14) and later require SDKROOT set to work correctly.
|
||||
|
||||
# Don't need shellcheck to follow the `source`.
|
||||
# HOMEBREW_LIBRARY is set by bin/brew
|
||||
# HOMEBREW_SDKROOT is set by extend/ENV/super.rb
|
||||
# shellcheck disable=SC1090,SC2154
|
||||
source "${HOMEBREW_LIBRARY}/Homebrew/shims/utils.sh"
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
# it and attempts to avoid these issues.
|
||||
|
||||
# These could be used in conjunction with `--sdk` which ignores SDKROOT.
|
||||
# HOMEBREW_DEVELOPER_DIR, HOMEBREW_SDKROOT and HOMEBREW_PREFER_CLT_PROXIES are set by extend/ENV/super.rb
|
||||
# shellcheck disable=SC2154
|
||||
if [[ "$*" =~ (^| )-?-show-sdk-(path|version|build) && -n "${HOMEBREW_DEVELOPER_DIR}" ]]; then
|
||||
export DEVELOPER_DIR=${HOMEBREW_DEVELOPER_DIR}
|
||||
|
||||
@ -3,6 +3,11 @@
|
||||
# This script because we support $HOMEBREW_GIT, $HOMEBREW_SVN, etc., Xcode-only and
|
||||
# no Xcode/CLT configurations. Order is careful to be what the user would want.
|
||||
|
||||
# HOMEBREW_LIBRARY is set by bin/brew
|
||||
# SHIM_FILE is set by shims/utils.sh
|
||||
# HOMEBREW_GIT is set by brew.sh
|
||||
# HOMEBREW_SVN is from the user environment.
|
||||
# HOMEBREW_PREFIX is set extend/ENV/super.rb
|
||||
# shellcheck disable=SC2154
|
||||
if [ -z "${HOMEBREW_LIBRARY}" ]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user