Fix missing quote in key-handler from commit 5c607ad
This commit is contained in:
parent
5c607ad495
commit
ba4b84a8b1
2
Makefile
2
Makefile
|
@ -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…
Reference in a new issue