keg: mkpath directories in share/locale
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
66388b7a43
commit
36085bd34d
@ -69,7 +69,7 @@ class Keg < Pathname
|
|||||||
link_dir('share') do |path|
|
link_dir('share') do |path|
|
||||||
# locale-specific directories have the form
|
# locale-specific directories have the form
|
||||||
# language[_territory][.codeset][@modifier]
|
# language[_territory][.codeset][@modifier]
|
||||||
if path.to_s =~ /man\/([a-z]{2}|C|POSIX)(_[A-Z]{2})?(\.[a-zA-Z\-0-9]+(@.+)?)?/
|
if path.to_s =~ /(locale|man)\/([a-z]{2}|C|POSIX)(_[A-Z]{2})?(\.[a-zA-Z\-0-9]+(@.+)?)?/
|
||||||
:mkpath
|
:mkpath
|
||||||
elsif share_mkpaths.include? path.to_s
|
elsif share_mkpaths.include? path.to_s
|
||||||
:mkpath
|
:mkpath
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user