Skip to content

Commit

Permalink
Merge pull request #39 from brozkeff/patch-1
Browse files Browse the repository at this point in the history
fix unquoted basename $0 -> basename "$0"
  • Loading branch information
tavinus authored Jan 27, 2023
2 parents 3f5be8a + f252251 commit b66b72c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pdfScale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
################################################################

VERSION="2.5.5"
VERSION="2.5.6"


###################### EXTERNAL PROGRAMS #######################
Expand All @@ -45,11 +45,11 @@ FALSE=1

########################### GLOBALS ############################

SCALE="0.95" # scaling factor (0.95 = 95%, e.g.)
VERBOSE=0 # verbosity Level
PDFSCALE_NAME="$(basename $0)" # simplified name of this script
OSNAME="$(uname 2>/dev/null)" # Check where we are running
GS_RUN_STATUS="" # Holds GS error messages, signals errors
SCALE="0.95" # scaling factor (0.95 = 95%, e.g.)
VERBOSE=0 # verbosity Level
PDFSCALE_NAME="$(basename "$0")" # simplified name of this script
OSNAME="$(uname 2>/dev/null)" # Check where we are running
GS_RUN_STATUS="" # Holds GS error messages, signals errors

INFILEPDF="" # Input PDF file name
OUTFILEPDF="" # Output PDF file name
Expand Down

0 comments on commit b66b72c

Please sign in to comment.