Tweak conversion.sh for TZ conversion error in MSVC.

This commit is contained in:
clanmills 2020-09-11 14:33:44 +01:00
parent 9fb0df5f53
commit f483ed03a7

View File

@ -206,7 +206,7 @@ fi
# evade this test on MSVC builds (Issue #485)
platform=$(runTest exiv2 -vV 2>/dev/null | grep platform=)
if [ "$platform" == "platform=windows" -o "$platform" == "platform=mingw64" -o "$platform" == "platform=msys" ]; then
runTest exiv2 -PEkycv v.jpg | sed -E -e 's#17 19:10:22#18 02:10:22#g'
runTest exiv2 -PEkycv v.jpg | sed -E -e 's#1. 1.:10:22#18 02:10:22#g'
else
runTest exiv2 -PEkycv v.jpg
fi