From 1385708a95d5606a0bda5afb7dbf01a1ad6c5a01 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 12 Oct 2022 20:27:02 +0200 Subject: [PATCH] - 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' -- 2.44.0