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

Already on GitHub? Sign in to your account

Mkdir /usr/local for Homebrew if it doesn't exist #69

merged 1 commit into from Feb 20, 2013


None yet
2 participants

christoomey commented Feb 19, 2013

I hit an error when running the laptop script on a new Mountain Lion install.

chown: /usr/local: No such file or directory

Homebrew will create and set the mode of the directory, but if we want to chown it for the user prior to installing Homebrew we might need to create it first.

Using mkdir -p to only create if it doesn't exist.


jferris commented Feb 19, 2013

Looks good.

christoomey added a commit that referenced this pull request Feb 20, 2013

Merge pull request #69 from thoughtbot/ctoomey-mkdir-homebrew
Mkdir /usr/local for Homebrew if it doesn't exist

@christoomey christoomey merged commit f2c7f5c into master Feb 20, 2013

@christoomey christoomey deleted the ctoomey-mkdir-homebrew branch Feb 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment