aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-29 22:48:55 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-29 22:48:55 +0000
commitcc4ce60dc580e3cdf08964bbf1477ac87efbd721 (patch)
tree13b59a09dbc38bb68e04952f3fc830e03cea4508 /bin
parentdont run depscan.sh anymore #86523 (diff)
downloadportage-cvs-cc4ce60dc580e3cdf08964bbf1477ac87efbd721.tar.gz
portage-cvs-cc4ce60dc580e3cdf08964bbf1477ac87efbd721.tar.bz2
portage-cvs-cc4ce60dc580e3cdf08964bbf1477ac87efbd721.zip
reconigze more subchapters than just [1-8n] #32584
Diffstat (limited to 'bin')
-rwxr-xr-xbin/doman12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/doman b/bin/doman
index 2de27ab..71f0c59 100755
--- a/bin/doman
+++ b/bin/doman
@@ -1,7 +1,7 @@
#!/bin/bash
-# Copyright 1999-2004 Gentoo Foundation
+# 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.13 2004/10/10 10:07:20 carpaski Exp $
+# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/doman,v 1.14 2005/04/29 22:48:55 vapier Exp $
if [ ${#} -lt 1 ] ; then
echo "${0}: at least one argument needed" 1>&2
@@ -30,7 +30,7 @@ for x in "$@" ; do
continue
fi
- if [ "${x}" == ".keep" ]; then
+ if [ "${x}" == ".keep" ] ; then
continue
fi
@@ -53,7 +53,7 @@ for x in "$@" ; do
mandir=${i18n}man${suffix:0:1}
- if echo ${mandir} | egrep -q 'man[1-8n]$' -; 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}"
@@ -65,9 +65,9 @@ for x in "$@" ; do
gzip -f -9 "${D}${BASE}/man/${mandir}/${x##*/}"
fi
else
- echo "doman: ${x} does not exist." 1>&2
+ echo "doman: ${x} does not exist" 1>&2
fi
else
- echo -e "\adoman: '${x}' is probably not a man page." 1>&2
+ echo -e "\adoman: '${x}' is probably not a man page; skipping" 1>&2
fi
done