Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENV vars no longer working for specifying additional files #78

Closed
kyounger opened this issue Jan 4, 2018 · 1 comment
Closed

ENV vars no longer working for specifying additional files #78

kyounger opened this issue Jan 4, 2018 · 1 comment

Comments

@kyounger
Copy link

kyounger commented Jan 4, 2018

Steps to reproduce (using latest from tapped rcmdnk/file):

  1. (Deleted all previous homebrew configuration)
  2. brew file init to create new Brewfile with current config in ~/.config/brewfile/
  3. Add file ./${HOST}.Brewfile to the bottom of the created Brewfile
  4. Move one of the brew xxx lines from Brewfile -> Host1.Brewfile
  5. Ensure that the HOST env variable is exported in the env
  6. Run brew file update

This seems to create a file in the same directory literally named ${HOST}.Brewfile, instead of picking up the configuration in the file named (for me) home.Brewfile.

@rcmdnk
Copy link
Owner

rcmdnk commented Jan 5, 2018

Thank you for the report.

I've updated brew-file to support environmental variables in Brewfile: v5.1.0.
Please try to update brew-file and do it.

@rcmdnk rcmdnk closed this as completed Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants