[packages/php-pecl-imagick] - stick to POSIX sh syntax

qboosh qboosh at pld-linux.org
Wed Oct 12 20:26:08 CEST 2022


commit 1385708a95d5606a0bda5afb7dbf01a1ad6c5a01
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Oct 12 20:27:02 2022 +0200

    - stick to POSIX sh syntax

 php-pecl-imagick.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 9f60c71..83d5f71 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -79,7 +79,10 @@ xfail() {
 
 while read line; do
 	t=${line##*\[}; t=${t%\]}
-	test -z "$t" -o "${t:0:1}" = '#' && continue
+	test -z "$t" && continue
+	case "$t" in
+		'#'*) continue;;
+	esac
 	xfail $t
 done << 'EOF'
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-imagick.git/commitdiff/1385708a95d5606a0bda5afb7dbf01a1ad6c5a01



More information about the pld-cvs-commit mailing list