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