X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 69CB2DC178B for ; Mon, 30 Nov 2015 07:14:29 +0000 (UTC) Received: from newmail.tetrasec.net (unknown [74.117.189.116]) by mail.alpinelinux.org (Postfix) with ESMTP id 4EC50DC00D7 for ; Mon, 30 Nov 2015 07:14:29 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 334BD5A136F; Mon, 30 Nov 2015 07:03:48 +0000 (GMT) Date: Mon, 30 Nov 2015 08:14:26 +0100 From: Natanael Copa To: =?ISO-8859-1?B?U/ZyZW4=?= Tempel Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH 2/5] abuild: there is no man page section 9 Message-ID: <20151130081426.1eb3b240@ncopa-desktop.alpinelinux.org> In-Reply-To: <1448581847-30376-2-git-send-email-soeren+git@soeren-tempel.net> References: <1448581847-30376-1-git-send-email-soeren+git@soeren-tempel.net> <1448581847-30376-2-git-send-email-soeren+git@soeren-tempel.net> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Fri, 27 Nov 2015 00:50:44 +0100 S=F6ren Tempel wrote: > --- > abuild.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/abuild.in b/abuild.in > index 697a186..4c45504 100644 > --- a/abuild.in > +++ b/abuild.in > @@ -591,7 +591,7 @@ postcheck() { > warning "Found /usr/share/man but package name doesn't end with -doc" > fi > # check for uncompressed man pages > - i=3D$(find "$dir"/usr/share/man -name '*.[0-9]' -type f | sed "s|^$dir= |\t|") > + i=3D$(find "$dir"/usr/share/man -name '*.[0-8]' -type f | sed "s|^$dir= |\t|") > if [ -n "$i" ]; then > error "Found uncompressed man pages:" > echo "$i" > @@ -1405,7 +1405,7 @@ default_doc() { > # compress man pages > local previnode=3D prevname=3D mandir=3D"$subpkgdir"/usr/share/man > [ -d "$mandir" ] && find "$subpkgdir"/usr/share/man \ > - -type f \( -name \*.[0-9n] -o -name \*.[0-9][a-z]* \) \ > + -type f \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \ > -exec stat -c "%i %n" {} \; | sort -n \ > | while read inode name; do > =20 > @@ -1421,7 +1421,7 @@ default_doc() { > prevname=3D"$name" > done > [ -d "$mandir" ] && find "$subpkgdir"/usr/share/man \ > - -type l \( -name \*.[0-9n] -o -name \*.[0-9][a-z]* \) \ > + -type l \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \ > | while read symlink; do > =20 > ln -s $(readlink $symlink).gz "$symlink".gz What problem does this fix? Does it hurt to check for [0-9] instead of [0-8] in any way? -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---