summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/doman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/doman')
-rwxr-xr-xbin/ebuild-helpers/doman6
1 files changed, 3 insertions, 3 deletions
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]}