diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-28 01:30:51 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-28 01:30:51 +0000 |
commit | c8780d7772b891bf08002c2e1475ef580ef94441 (patch) | |
tree | 330a6ed3bad50733097ae9cc90b4599d5f7b6173 /bin | |
parent | f52594006b7eaff362c15dfa193a6511c5e23ccb (diff) | |
download | portage-c8780d7772b891bf08002c2e1475ef580ef94441.tar.gz portage-c8780d7772b891bf08002c2e1475ef580ef94441.tar.bz2 portage-c8780d7772b891bf08002c2e1475ef580ef94441.zip |
Convert doman to use bash's =~ operator instead of calling egrep.
(trunk r10460)
svn path=/main/branches/2.1.2/; revision=10463
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/doman | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ for x in "$@" ; do mandir=${i18n}man${suffix:0:1} - if echo ${mandir} | egrep -q 'man[0-9n](|f|p|pm)$' -; then + if [[ ${mandir} =~ man[0-9n](|f|p|pm)$ ]] ; then if [[ -s ${x} ]] ; then if [[ ! -d ${D}/usr/share/man/${mandir} ]] ; then install -d "${D}/usr/share/man/${mandir}" |