Skip to content

Commit

Permalink
Handle TMPDIR not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Apr 19, 2024
1 parent d3cc8b4 commit 32a5e0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/scripts/updatehelidonversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ if [ -z "${NEW_VERSION}" ]; then
exit 1
fi

if [ -z "${TMPDIR}" ]; then
readonly TMPDIR="/tmp"
fi

readonly POM_FILES=$(find . -name pom.xml -print)

for f in ${POM_FILES}; do
Expand Down

0 comments on commit 32a5e0f

Please sign in to comment.