From a23b48723103b1747f27d298c6461f93809a1d75 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Wed, 30 Nov 2022 10:32:35 +0100 Subject: [PATCH] [unoconv-display] Bugfix quotation problem A filename variable needed quotation in one line. --- unoconv-display | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unoconv-display b/unoconv-display index 8ba06f5..3b45709 100644 --- a/unoconv-display +++ b/unoconv-display @@ -22,7 +22,7 @@ if [ "$1" == "-e" ]; then fmt=emacs; shift; else fmt=pdf; fi if [ -n "$1" ]; then file=$1 else file="$tmp/$$"; cat > "$file"; fi sha=$(sha1sum "$file") -base=$(basename ${file%.*}) +base="$(basename "${file%.*}")" dir="$cache/${sha:0:16}" pdf="$dir/$base.pdf" txt="$dir/$base.txt" -- 2.39.2