Mail archive
alpine-devel

[alpine-devel] [PATCH 2/5] abuild: there is no man page section 9

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Fri, 27 Nov 2015 00:50:44 +0100

---
 abuild.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/abuild.in b/abuild.in
index 697a186..4c45504 100644
--- a/abuild.in
+++ b/abuild.in
_at_@ -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=$(find "$dir"/usr/share/man -name '*.[0-9]' -type f | sed "s|^$dir|\t|")
+		i=$(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"
_at_@ -1405,7 +1405,7 @@ default_doc() {
 	# compress man pages
 	local previnode= prevname=  mandir="$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
 
_at_@ -1421,7 +1421,7 @@ default_doc() {
 		prevname="$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
 
 		ln -s $(readlink $symlink).gz "$symlink".gz
-- 
2.6.3
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Nov 27 2015 - 00:50:44 UTC