diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-04 01:53:47 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-04 01:53:47 +0000 |
commit | 9c16fcdc085d5d653b68bafcde487882451cb8a0 (patch) | |
tree | 4c4d1a28b53e26df7ae5085f958d358fa5f942a1 /bin | |
parent | 2e5f718699a68e23a945b607c216a4e3be958ef8 (diff) | |
download | portage-9c16fcdc085d5d653b68bafcde487882451cb8a0.tar.gz portage-9c16fcdc085d5d653b68bafcde487882451cb8a0.tar.bz2 portage-9c16fcdc085d5d653b68bafcde487882451cb8a0.zip |
Fix regex for compatibility with the regex implementation from FreeBSD's
libc (used by bash on FreeBSD). Thanks to Alexis Ballier <aballier@g.o>
for the patch. (trunk r10558)
svn path=/main/branches/2.1.2/; revision=10572
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 [[ ${mandir} =~ 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}" |