diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-07-08 10:14:51 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-07-08 10:14:51 -0700 |
commit | 08c279024c1e2f8924f7d68e278d0423415695ec (patch) | |
tree | 725c118a76b5ee50665e373cdb6913bd562d19ae /bin/ebuild-helpers/doman | |
parent | d334784c83f65b75c5b0f12f1b6294e522107ae6 (diff) | |
download | portage-08c279024c1e2f8924f7d68e278d0423415695ec.tar.gz portage-08c279024c1e2f8924f7d68e278d0423415695ec.tar.bz2 portage-08c279024c1e2f8924f7d68e278d0423415695ec.zip |
Remove all hasq/useq calls for bug #199722.
Diffstat (limited to 'bin/ebuild-helpers/doman')
-rwxr-xr-x | bin/ebuild-helpers/doman | 6 |
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]} |