From 08c279024c1e2f8924f7d68e278d0423415695ec Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Jul 2011 10:14:51 -0700 Subject: Remove all hasq/useq calls for bug #199722. --- bin/ebuild-helpers/doman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ebuild-helpers/doman') diff --git a/bin/ebuild-helpers/doman b/bin/ebuild-helpers/doman index 11333be4f..51ca055f6 100755 --- a/bin/ebuild-helpers/doman +++ b/bin/ebuild-helpers/doman @@ -25,13 +25,13 @@ for x in "$@" ; do suffix=${x##*.} # These will be automatically decompressed by ecompressdir. - if hasq ${suffix} Z gz bz2 ; then + if has ${suffix} Z gz bz2 ; then realname=${x%.*} suffix=${realname##*.} fi - if hasq "${EAPI:-0}" 2 3 || [[ -z ${i18n} ]] \ - && ! hasq "${EAPI:-0}" 0 1 \ + if has "${EAPI:-0}" 2 3 || [[ -z ${i18n} ]] \ + && ! has "${EAPI:-0}" 0 1 \ && [[ $x =~ (.*)\.([a-z][a-z](_[A-Z][A-Z])?)\.(.*) ]] then name=${BASH_REMATCH[1]##*/}.${BASH_REMATCH[4]} -- cgit v1.2.3-1-g7c22