]> git.g-eek.se Git - users/gustav/scripts.git/commitdiff
[exiv2-common-edits] Bugfix in template generation
authorGustav Eek <gustav@fripost.org>
Sun, 24 Jul 2016 09:47:34 +0000 (12:47 +0300)
committerGustav Eek <gustav@fripost.org>
Sun, 24 Jul 2016 09:47:34 +0000 (12:47 +0300)
A tick mark was missing in the template generation for when
fotographer is not the camera owner. This commit fixes that.

exiv2-common-edits

index 8967dc336790a4f5e13dc3ddc3f3ba5c42db33ae..30bf1791ab913a00908ff5edcfa190a1ed9665b5 100755 (executable)
@@ -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