Skip to content
Snippets Groups Projects
Commit a8d6a695 authored by Max Howell's avatar Max Howell
Browse files

mkpath for all directories under lib/perl5

Don't symlink, as multiple formula will install to this directory.
parent ee2b521c
No related branches found
No related tags found
No related merge requests found
......@@ -58,10 +58,17 @@ class Keg <Pathname
link_dir('etc') {:mkpath}
link_dir('bin') {:skip}
link_dir('sbin') {:link}
link_dir('lib') {|path| :mkpath if %w[pkgconfig php perl5 perl5/site_perl].include? path.to_s}
link_dir('include') {:link}
link_dir('share') {|path| :mkpath if mkpaths.include? path.to_s}
link_dir('lib') do |path|
case path.to_s
when /^pkgconfig/ then :mkpath
when /^php/ then :mkpath
when /^perl5/ then :mkpath
end
end
return $n+$d
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment