From 6a223e9d7da5567b26196a87517820cd46516ee3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 27 Sep 2010 20:24:45 +0200 Subject: [PATCH] doman: ${mandir} can't contain complete suffix so don't check for it. We're appending only a single character of manfile suffix to ${mandir}, so we don't need to expect having anything more in there. --- bin/ebuild-helpers/doman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/doman b/bin/ebuild-helpers/doman index 1862f83e1..11333be4f 100755 --- a/bin/ebuild-helpers/doman +++ b/bin/ebuild-helpers/doman @@ -42,7 +42,7 @@ for x in "$@" ; do fi - if [[ ${mandir} =~ man[0-9n](f|p|pm)?$ ]] ; then + if [[ ${mandir} == *man[0-9n] ]] ; then if [[ -s ${x} ]] ; then if [[ ! -d ${D}/usr/share/man/${mandir} ]] ; then install -d "${D}/usr/share/man/${mandir}" -- 2.26.2