summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-04 01:53:47 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-04 01:53:47 +0000
commit9c16fcdc085d5d653b68bafcde487882451cb8a0 (patch)
tree4c4d1a28b53e26df7ae5085f958d358fa5f942a1
parentTweak the installed masked code from bug #223447 so that it less noisy (diff)
downloadportage-multirepo-9c16fcdc085d5d653b68bafcde487882451cb8a0.tar.gz
portage-multirepo-9c16fcdc085d5d653b68bafcde487882451cb8a0.tar.bz2
portage-multirepo-9c16fcdc085d5d653b68bafcde487882451cb8a0.zip
Fix regex for compatibility with the regex implementation from FreeBSD's
libc (used by bash on FreeBSD). Thanks to Alexis Ballier <aballier@g.o> for the patch. (trunk r10558) svn path=/main/branches/2.1.2/; revision=10572
-rwxr-xr-xbin/doman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/doman b/bin/doman
index e074edad..5b9493dd 100755
--- a/bin/doman
+++ b/bin/doman
@@ -33,7 +33,7 @@ for x in "$@" ; do
mandir=${i18n}man${suffix:0:1}
- if [[ ${mandir} =~ man[0-9n](|f|p|pm)$ ]] ; then
+ if [[ ${mandir} =~ man[0-9n](f|p|pm)?$ ]] ; then
if [[ -s ${x} ]] ; then
if [[ ! -d ${D}/usr/share/man/${mandir} ]] ; then
install -d "${D}/usr/share/man/${mandir}"