summaryrefslogtreecommitdiff
path: root/bin/doman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-03 20:11:00 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-03 20:11:00 +0000
commit2646bca31e14f042c825bff30f1de204fd3f5027 (patch)
treee7bd8fcb9e9ffdef4c56e24cd51223068473bba3 /bin/doman
parentTweak the installed masked code from bug #223447 so that it less noisy (diff)
downloadportage-idfetch-2646bca31e14f042c825bff30f1de204fd3f5027.tar.gz
portage-idfetch-2646bca31e14f042c825bff30f1de204fd3f5027.tar.bz2
portage-idfetch-2646bca31e14f042c825bff30f1de204fd3f5027.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. svn path=/main/trunk/; revision=10558
Diffstat (limited to 'bin/doman')
-rwxr-xr-xbin/doman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/doman b/bin/doman
index 24976821..c8d34ee5 100755
--- a/bin/doman
+++ b/bin/doman
@@ -41,7 +41,7 @@ for x in "$@" ; do
fi
- 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}"