projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
832f4b7
)
Make the new behavior from bug #222439 conditional on EAPI being something
author
Zac Medico
<zmedico@gentoo.org>
Wed, 28 May 2008 01:27:56 +0000
(
01:27
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 28 May 2008 01:27:56 +0000
(
01:27
-0000)
other than 0 or 1.
svn path=/main/trunk/; revision=10462
bin/doman
patch
|
blob
|
history
diff --git
a/bin/doman
b/bin/doman
index 61040469f1e8992b5bbb0e15c95b0fbc3fe703e4..249768218652108f1d7eb09773ae1545dc3501a0 100755
(executable)
--- a/
bin/doman
+++ b/
bin/doman
@@
-31,7
+31,8
@@
for x in "$@" ; do
suffix=${realname##*.}
fi
- if [[ $x =~ (.*)\.([a-z][a-z](_[A-Z][A-Z])?)\.(.*) ]] ; then
+ if ! hasq "${EAPI:-0}" 0 1 && \
+ [[ $x =~ (.*)\.([a-z][a-z](_[A-Z][A-Z])?)\.(.*) ]] ; then
name=${BASH_REMATCH[1]##*/}.${BASH_REMATCH[4]}
mandir=${BASH_REMATCH[2]}/man${suffix:0:1}
else