From 2646bca31e14f042c825bff30f1de204fd3f5027 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 3 Jun 2008 20:11:00 +0000 Subject: Fix regex for compatibility with the regex implementation from FreeBSD's libc (used by bash on FreeBSD). Thanks to Alexis Ballier for the patch. svn path=/main/trunk/; revision=10558 --- bin/doman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/doman') diff --git a/bin/doman b/bin/doman index 249768218..c8d34ee5e 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}" -- cgit v1.2.3-1-g7c22