diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-03 20:11:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-03 20:11:00 +0000 |
commit | 2646bca31e14f042c825bff30f1de204fd3f5027 (patch) | |
tree | e7bd8fcb9e9ffdef4c56e24cd51223068473bba3 | |
parent | 002c39d034eaa11163563e1fa65ca2046b5a354f (diff) | |
download | portage-2646bca31e14f042c825bff30f1de204fd3f5027.tar.gz portage-2646bca31e14f042c825bff30f1de204fd3f5027.tar.bz2 portage-2646bca31e14f042c825bff30f1de204fd3f5027.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.
svn path=/main/trunk/; revision=10558
-rwxr-xr-x | bin/doman | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ for x in "$@" ; do fi - 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}" |