projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
149762e
)
doman: ${mandir} can't contain complete suffix so don't check for it.
author
Michał Górny
<gentoo@mgorny.alt.pl>
Mon, 27 Sep 2010 18:24:45 +0000
(20:24 +0200)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 00:46:14 +0000
(17:46 -0700)
We're appending only a single character of manfile suffix to ${mandir},
so we don't need to expect having anything more in there.
bin/ebuild-helpers/doman
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/doman
b/bin/ebuild-helpers/doman
index 1862f83e1d51f37160372603d503a36ce8d776c4..11333be4f03a00e8dd52f0d55bd09d76a58a45d8 100755
(executable)
--- 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}"