summaryrefslogtreecommitdiffstats
path: root/bin
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-30 17:46:14 -0700
commit6a223e9d7da5567b26196a87517820cd46516ee3 (patch)
tree42bcc030197864fd1f68cc82a2be00323ba68f41 /bin
parent149762e1c0e5b2f7d9d70ca9db01a400abe9a396 (diff)
downloadportage-6a223e9d7da5567b26196a87517820cd46516ee3.tar.gz
portage-6a223e9d7da5567b26196a87517820cd46516ee3.tar.bz2
portage-6a223e9d7da5567b26196a87517820cd46516ee3.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')
-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}"