From f6bc246ff288c1c5243920d4f27c4ff84118e12d Mon Sep 17 00:00:00 2001 From: Otthorn Date: Fri, 19 Feb 2021 01:13:20 +0100 Subject: [PATCH] [lint] FIX SC2086: use double quotes on vars --- pdf-optimize | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdf-optimize b/pdf-optimize index 0d72042..ee94899 100755 --- a/pdf-optimize +++ b/pdf-optimize @@ -103,8 +103,8 @@ ${bold}$output_path${normal}." -dNOPAUSE \ -dQUIET \ -dBATCH \ - -sOutputFile=$output_path \ - $input_path + -sOutputFile="$output_path" \ + "$input_path" else echo "input_path=$input_path"; echo "output_path=$output_path"; @@ -117,8 +117,8 @@ ${bold}$output_path${normal}." -dPDFSETTINGS=/prepress \ -dNOPAUSE \ -dBATCH \ - -sOutputFile=$output_path \ - $input_path + -sOutputFile="$output_path" \ + "$input_path" fi # catching errors