tavinus / pdfScale

Bash Script to Scale and Resize PDFs using Ghostscript
MIT License
246 stars 37 forks source link

fix unquoted basename $0 -> basename "$0" #39

Closed brozkeff closed 1 year ago

brozkeff commented 1 year ago

When using script in a folder with spaces error "basename extra operand" appears because path is not properly double quoted.