From c12febde9e60cfd11f8d20619e8f5233eb6a4d30 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 30 Apr 2005 00:07:22 +0000 Subject: fix new regex so it accepts previous matches that were valid --- bin/doman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/doman b/bin/doman index 71f0c59..1582f9f 100755 --- a/bin/doman +++ b/bin/doman @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/doman,v 1.14 2005/04/29 22:48:55 vapier Exp $ +# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/doman,v 1.15 2005/04/30 00:07:22 vapier Exp $ if [ ${#} -lt 1 ] ; then echo "${0}: at least one argument needed" 1>&2 @@ -53,7 +53,7 @@ for x in "$@" ; do mandir=${i18n}man${suffix:0:1} - if echo ${mandir} | egrep -q 'man[0-9n](f|p|pm)$' -; then + if echo ${mandir} | egrep -q 'man[0-9n](|f|p|pm)$' -; then if [ -e "${x}" ] ; then if [ ! -d "${D}${BASE}/man/${mandir}" ] ; then install -d "${D}${BASE}/man/${mandir}" -- cgit v1.2.3-65-gdbad