Skip to content

Commit ae18dfe

Browse files
authored
Merge pull request #21699 from Homebrew/tighten-var-regex
bin/brew: tighten regex for variable exclusion
2 parents e5c91bf + cc5000d commit ae18dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/brew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export_homebrew_env_file() {
121121
bin_brew_exported_vars_regex="^($(
122122
IFS='|'
123123
echo "${BIN_BREW_EXPORTED_VARS[*]}"
124-
))"
124+
))(=|$)"
125125

126126
while read -r line
127127
do

0 commit comments

Comments
 (0)