sxiv

simple X image viewer
git clone git://git.suckless.org/sxiv
Log | Files | Refs | LICENSE

commit ba4b84a8b1cf537b292ff4679806cfe33330b161
parent 5c607ad4951e4313ecfd2bc42087d5550283880c
Author: Bert M√ľnnich <ber.t@posteo.de>
Date:   Mon, 13 Feb 2017 11:20:58 +0100

Fix missing quote in key-handler from commit 5c607ad

Diffstat:
Makefile | 2+-
exec/key-handler | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -VERSION := git-20170107 +VERSION := git-20170213 PREFIX := /usr/local MANPREFIX := $(PREFIX)/share/man diff --git a/exec/key-handler b/exec/key-handler @@ -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" ;;