mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00
Handle bash logic correctly.
This commit is contained in:
parent
287425cf9d
commit
974550da94
1 changed files with 5 additions and 5 deletions
|
@ -34,10 +34,10 @@ do
|
|||
fi
|
||||
if [ -f ${OUT} ]
|
||||
then
|
||||
xmllint --noout ${OUT} 2> /dev/null || {
|
||||
echo -e "${red}${var,,}.xml does not pass XML lint test!${default}"
|
||||
} && {
|
||||
echo -e "${green}${var,,}.xml passes XML lint test!${default}"
|
||||
}
|
||||
xmllint --noout ${OUT} 2> /dev/null && (
|
||||
echo -e "${green}${OUT}.xml passes XML lint test!${default}"
|
||||
) || (
|
||||
echo -e "${yellow}${OUT}.xml does not pass XML lint test!${default}"
|
||||
)
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue