From 9c16fcdc085d5d653b68bafcde487882451cb8a0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 4 Jun 2008 01:53:47 +0000 Subject: [PATCH] Fix regex for compatibility with the regex implementation from FreeBSD's libc (used by bash on FreeBSD). Thanks to Alexis Ballier for the patch. (trunk r10558) svn path=/main/branches/2.1.2/; revision=10572 --- bin/doman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/doman b/bin/doman index e074edad2..5b9493dd5 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}" -- 2.26.2