aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-02-01 14:17:33 -0600
committerJack Nagel2012-02-01 14:17:33 -0600
commitc6a548cd2acf506e421cf7bec55b87e5d055eaff (patch)
treefc46d1aa4941a229f7d82b4535bc3a003ec4b6d4 /Library
parentb2b5db45908ce6468c22d9485f61acb98088c03b (diff)
downloadhomebrew-c6a548cd2acf506e421cf7bec55b87e5d055eaff.tar.bz2
keg: mkpath directories in share/locale
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index 2ea07b96b..8a98c1656 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -69,7 +69,7 @@ class Keg < Pathname
link_dir('share') do |path|
# locale-specific directories have the form
# 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
elsif share_mkpaths.include? path.to_s
:mkpath