mirror of
https://github.com/Imagick/imagick.git
synced 2026-06-19 07:35:36 +00:00
e2e4e01a50
Error: tag <file> in context "<dir name="tests">" has no attribute "role" Validation: 1 error(s), 0 warning(s) # echo $? 0
12 lines
233 B
Bash
12 lines
233 B
Bash
#!/bin/bash
|
|
|
|
VALIDATE_OUTPUT=`pear package-validate`
|
|
|
|
echo "VALIDATE_OUTPUT is $VALIDATE_OUTPUT"
|
|
|
|
if [[ "$VALIDATE_OUTPUT" == *"Error"* ]]; then
|
|
echo "Package appears to contain an error"
|
|
exit 255
|
|
fi
|
|
|
|
echo "Package appears valid" |