From 66e9e06601c5fcbeac9c700b6c0f0462f43e6233 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 28 May 2008 01:27:56 +0000 Subject: [PATCH] Make the new behavior from bug #222439 conditional on EAPI being something other than 0 or 1. svn path=/main/trunk/; revision=10462 --- bin/doman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/doman b/bin/doman index 61040469f..249768218 100755 --- 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 -- 2.26.2