diff options
| author | ilovezfs | 2016-06-07 10:57:25 -0700 | 
|---|---|---|
| committer | ilovezfs | 2016-06-07 12:16:43 -0700 | 
| commit | 21ca138edf584daebf1795a52d6edd6ec34ce605 (patch) | |
| tree | d695aa3fa54e422e162712d9889f36f6f98e4de7 | |
| parent | af42deca4ab70816216ffc060f3aa8f55e469cac (diff) | |
| download | brew-21ca138edf584daebf1795a52d6edd6ec34ce605.tar.bz2 | |
Resource.unpack: install invisible files and dirs
Since patches sometimes change .gitignore and .travis.yml, it's
desirable to install them along with everything else if a resource needs
patching. Also, for resources that are git respositories, this allows
install to interact with git objects other than the commit specifically
checked out. More generally, this may help to avoid subtle issues by
preserving the fidelity of resources in cases where invisible dot files
play a functional role.
Closes #329.
Signed-off-by: ilovezfs <ilovezfs@icloud.com>
| -rw-r--r-- | Library/Homebrew/resource.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index 3fcdf46bd..a11c295ab 100644 --- a/Library/Homebrew/resource.rb +++ b/Library/Homebrew/resource.rb @@ -98,7 +98,7 @@ class Resource          yield ResourceStageContext.new(self, staging)        elsif target          target = Pathname.new(target) unless target.is_a? Pathname -        target.install Dir["*"] +        target.install Pathname.pwd.children        end      end    end | 
