Skip to content

Commit

Permalink
Secure against spaces in TEXLIVEFILE; formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
reitzig committed Mar 11, 2024
1 parent a062546 commit 84fc958
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ case "${command}" in

# Install dependencies
hashfile="${TMP_DIR}/${TEXLIVEFILE}.sha"
mkdir -p $(dirname ${hashfile})
mkdir -p "$(dirname "${hashfile}")"

if [[ -f "${SRC_DIR}/${TEXLIVEFILE}" ]]; then
if ! sha256sum -c "${hashfile}" > /dev/null 2>&1; then
echo "Installing dependencies ..."
Expand Down

0 comments on commit 84fc958

Please sign in to comment.