Be compatible with OSX
This commit is contained in:
parent
ef1eb3541c
commit
1d1c711a7d
@ -26,8 +26,8 @@ rows="$2"
|
||||
columns="$3"
|
||||
margin="${4:-0}" # Set margin if provided, else default to 0
|
||||
|
||||
intermediate_pdf=$(mktemp --suffix=.pdf)
|
||||
cropped_output_pdf=$(mktemp --suffix=.pdf)
|
||||
intermediate_pdf="$(mktemp).pdf"
|
||||
cropped_output_pdf="$(mktemp).pdf"
|
||||
|
||||
# Cleanup temporary files on exit
|
||||
trap 'rm -f "$intermediate_pdf" "$cropped_output_pdf"' EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user