aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 71f2d6b0b..2ca8b6e5f 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -382,6 +382,7 @@ class Pathname
def env_script_all_files dst, env
dst.mkpath
Pathname.glob("#{self}/*") do |file|
+ next if file.directory?
dst.install_p file
new_file = dst+file.basename
file.write_env_script(new_file, env)