Skip to content

Commit

Permalink
complete error message
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 28, 2024
1 parent e272881 commit b9d4873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/official_sign_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ for _IMG_DIR in "${_IMG_DIRS[@]}"; do
IMAGE=$(basename ${FILE})
COUNT=$(psql -t -c "SELECT COUNT(id) FROM signalo_db.vl_official_sign WHERE img_de='${IMAGE}' OR img_fr='${IMAGE}' OR img_it='${IMAGE}' OR img_ro='${IMAGE}' OR img_de_right='${IMAGE}' OR img_fr_right='${IMAGE}' OR img_it_right='${IMAGE}' OR img_ro_right='${IMAGE}'")
if [[ ${COUNT} -ne "1" ]]; then
echo "*** Image ${IMAGE} is not used once in signalo_db.vl_official_sign"
echo "*** Image ${IMAGE} is not used once in signalo_db.vl_official_sign (or maybe more than once, checkout)"
return_code=1
elif [[ ${_IMG_DIR} = editable ]]; then
ih=$(exiftool -ImageHeight ${FILE} | sed "s/.*: //;s/pt//g")
Expand Down

0 comments on commit b9d4873

Please sign in to comment.