diff options
| author | Jack Nagel | 2014-06-17 21:41:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-17 21:51:45 -0500 |
| commit | 7ad3a3bfdd12ace523fd230f7e12840f8bbbf59c (patch) | |
| tree | 72aac078d4b6f65d0f23dfd4b9b71560caf207ed /Library | |
| parent | 364363466c5b4449e0059b9a4e762812c944f487 (diff) | |
| download | homebrew-7ad3a3bfdd12ace523fd230f7e12840f8bbbf59c.tar.bz2 | |
Add explicit mkpath to Pathname#write_exec_script
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index dd84f7fe7..17ade5eeb 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -348,6 +348,7 @@ class Pathname opoo "tried to write exec scripts to #{self} for an empty list of targets" return end + mkpath targets.each do |target| target = Pathname.new(target) # allow pathnames or strings (self+target.basename()).write <<-EOS.undent |
