Fix missing quote in key-handler from commit 5c607ad

pull/12/head
Bert Münnich 7 years ago
parent 5c607ad495
commit ba4b84a8b1

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

@ -18,7 +18,7 @@ readonly TMPFILE="/tmp/sxiv.$$"
rotate() {
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
image/jpeg*) jpegtran -rotate "$degree" -copy all -outfile "$file" "$file" ;;
*) mogrify -rotate "$degree" "$file" ;;

Loading…
Cancel
Save