]> git.pld-linux.org Git - packages/php-pecl-imagick.git/commitdiff
- stick to POSIX sh syntax
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 12 Oct 2022 18:27:02 +0000 (20:27 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 12 Oct 2022 18:27:02 +0000 (20:27 +0200)
php-pecl-imagick.spec

index 9f60c71a372f93fd356848b12cf5d5c870ac5b66..83d5f71ae6f23c2fcdcd8a1a1b43687c84a57019 100644 (file)
@@ -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'
 
This page took 0.0567029999999999 seconds and 4 git commands to generate.