diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-30 00:07:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-30 00:07:22 +0000 |
commit | c12febde9e60cfd11f8d20619e8f5233eb6a4d30 (patch) | |
tree | cf61d98931f122f7dc901b574ed02e32b05534cf /bin | |
parent | reconigze more subchapters than just [1-8n] #32584 (diff) | |
download | portage-cvs-c12febde9e60cfd11f8d20619e8f5233eb6a4d30.tar.gz portage-cvs-c12febde9e60cfd11f8d20619e8f5233eb6a4d30.tar.bz2 portage-cvs-c12febde9e60cfd11f8d20619e8f5233eb6a4d30.zip |
fix new regex so it accepts previous matches that were valid
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/doman | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}" |