aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-30 00:07:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-30 00:07:22 +0000
commitc12febde9e60cfd11f8d20619e8f5233eb6a4d30 (patch)
treecf61d98931f122f7dc901b574ed02e32b05534cf /bin
parentreconigze more subchapters than just [1-8n] #32584 (diff)
downloadportage-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-xbin/doman4
1 files changed, 2 insertions, 2 deletions
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}"