diff options
| author | Mike McQuaid | 2017-04-23 15:10:18 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-04-23 15:10:18 +0100 |
| commit | 45a7730f61ab24a0e5e3bc00d757a4521c2e1c1d (patch) | |
| tree | e477b153613853aa26091920cf9fc407688fdad2 /bin | |
| parent | e7e53b89fce480cb4f35d801cc293ef23787fcaf (diff) | |
| download | brew-45a7730f61ab24a0e5e3bc00d757a4521c2e1c1d.tar.bz2 | |
Fix and remove various TODOs.
Fix those that can be done so without tearing Homebrew to pieces and
remove the comments for those that can never be done.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -47,8 +47,7 @@ HOMEBREW_LIBRARY="$HOMEBREW_REPOSITORY/Library" for VAR in EDITOR PATH do VAR_NEW="HOMEBREW_${VAR}" - # TODO: find a better solution than this. - env | grep -q "$VAR_NEW" && continue + [[ -n "${!VAR_NEW}" ]] && continue export "$VAR_NEW"="${!VAR}" done |
