summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2010-09-27 20:24:45 +0200
committerZac Medico <zmedico@gentoo.org>2010-09-27 11:58:00 -0700
commitebbdaf4d7f46f3a1cc11ae34ae642e8b9a62c18f (patch)
treef8b78c9c22779fa63aa43a4ea71dd44590d3129a /bin/ebuild-helpers
parent7a6e64c158324d5cfcaf7c5d076a39ff22e96408 (diff)
downloadportage-ebbdaf4d7f46f3a1cc11ae34ae642e8b9a62c18f.tar.gz
portage-ebbdaf4d7f46f3a1cc11ae34ae642e8b9a62c18f.tar.bz2
portage-ebbdaf4d7f46f3a1cc11ae34ae642e8b9a62c18f.zip
doman: ${mandir} can't contain complete suffix so don't check for it.
We're appending only a single character of manfile suffix to ${mandir}, so we don't need to expect having anything more in there.
Diffstat (limited to 'bin/ebuild-helpers')
-rwxr-xr-xbin/ebuild-helpers/doman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/doman b/bin/ebuild-helpers/doman
index 1862f83e1..11333be4f 100755
--- a/bin/ebuild-helpers/doman
+++ b/bin/ebuild-helpers/doman
@@ -42,7 +42,7 @@ for x in "$@" ; do
fi
- if [[ ${mandir} =~ man[0-9n](f|p|pm)?$ ]] ; then
+ if [[ ${mandir} == *man[0-9n] ]] ; then
if [[ -s ${x} ]] ; then
if [[ ! -d ${D}/usr/share/man/${mandir} ]] ; then
install -d "${D}/usr/share/man/${mandir}"