Skip to content

Commit

Permalink
Merge pull request #93 from MikeMcQuaid/chmod-readable
Browse files Browse the repository at this point in the history
install: fixup more bad permissions.
  • Loading branch information
MikeMcQuaid committed Dec 3, 2016
2 parents a409a8f + 8e25304 commit 6b50aa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -7,7 +7,7 @@ rvm: system
# Remove Xcode and CommandLineTools included in default macOS image.
# This ensures the Command Line Tool install functionality is tested.
before_script:
- sudo rm -rf /Applications/Xcode.app /Library/Developer/CommandLineTools
- travis_wait sudo rm -rf /Applications/Xcode.app /Library/Developer/CommandLineTools
- sudo pkgutil --forget com.apple.pkg.CLTools_Executables
- sudo gem install rubocop

Expand Down
1 change: 1 addition & 0 deletions install
Expand Up @@ -231,6 +231,7 @@ end
wait_for_user if STDIN.tty? && !ENV["TRAVIS"]

if File.directory? HOMEBREW_PREFIX
sudo "/bin/chmod", "u+rwx", *chmods unless chmods.empty?
sudo "/bin/chmod", "g+rwx", *group_chmods unless group_chmods.empty?
sudo "/bin/chmod", "755", *user_chmods unless user_chmods.empty?
sudo "/usr/sbin/chown", ENV["USER"], *chowns unless chowns.empty?
Expand Down

0 comments on commit 6b50aa7

Please sign in to comment.