allow jpg images to contain query param

master
melvinzhang 2017-09-24 11:52:36 +08:00
parent b3a4c3b894
commit 7537a73fdf
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ check_meta: cards/scriptable.txt
# every image is to a jpg file or attachment
check_image:
grep '^image=' -r release/Magarena/scripts | grep -v "jpg$$" | grep -v "png$$" | grep -v attachment.php | ${NO_OUTPUT}
grep '^image=' -r release/Magarena/scripts | grep -v "jpg\(?[0-9]*\)\?$$" | grep -v "png$$" | grep -v attachment.php | ${NO_OUTPUT}
# every card that requires groovy code has a corresponding groovy script file
# every groovy script file has a corresponding card script that requires groovy code