From: Gustav Eek Date: Sun, 24 Jul 2016 09:47:34 +0000 (+0300) Subject: [exiv2-common-edits] Bugfix in template generation X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=5d8e7922c2c1b764ec1c40df2a8a209dd14012d4;p=users%2Fgustav%2Fscripts.git [exiv2-common-edits] Bugfix in template generation A tick mark was missing in the template generation for when fotographer is not the camera owner. This commit fixes that. --- diff --git a/exiv2-common-edits b/exiv2-common-edits index 8967dc3..30bf179 100755 --- a/exiv2-common-edits +++ b/exiv2-common-edits @@ -24,7 +24,7 @@ if [ "$cameraowner" == "$photographer" ]; then echo "set Exif.Image.Copyright 'Copyright, $photographer $(date +'%Y'). $copyright'" >> "$fileexiv" else echo "set Exif.Image.Artist 'Camera owner, $cameraowner; Photographer, $photographer'" >> "$fileexiv" - echo "set Iptc.Application2.Byline '$photographer and $cameraowner ($copyrightshort)" >> "$fileexiv" + echo "set Iptc.Application2.Byline '$photographer and $cameraowner ($copyrightshort)'" >> "$fileexiv" echo "" >> "$fileexiv" echo "set Exif.Image.Copyright 'Copyright, $photographer and $cameraowner, $(date +'%Y'). $copyright'" >> "$fileexiv" fi