Update build-jpg.sh