Fix missing quote in key-handler from commit 5c607ad

This commit is contained in:
Bert Münnich 2017-02-13 11:20:58 +01:00
parent 5c607ad495
commit ba4b84a8b1
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
VERSION := git-20170107 VERSION := git-20170213
PREFIX := /usr/local PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man MANPREFIX := $(PREFIX)/share/man

View file

@ -18,7 +18,7 @@ readonly TMPFILE="/tmp/sxiv.$$"
rotate() { rotate() {
degree="$1" degree="$1"
tr '\n' \0' | xargs -0 realpath | sort | uniq | while read file; do tr '\n' '\0' | xargs -0 realpath | sort | uniq | while read file; do
case "$(file -b -i "$file")" in case "$(file -b -i "$file")" in
image/jpeg*) jpegtran -rotate "$degree" -copy all -outfile "$file" "$file" ;; image/jpeg*) jpegtran -rotate "$degree" -copy all -outfile "$file" "$file" ;;
*) mogrify -rotate "$degree" "$file" ;; *) mogrify -rotate "$degree" "$file" ;;