Skip to content

Commit

Permalink
Only resolve RESULTS_DIR if it already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Dec 9, 2024
1 parent 0fe7727 commit 28adbe9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion external/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ EXTERNALS_DIR="$(cd "${EXTERNALS_DIR}" && pwd)"
if [ -z ${RESULTS_DIR:-} ] ; then
RESULTS_DIR="${HOME}/externalsMatrix"
fi
RESULTS_DIR="$(cd "${RESULTS_DIR}" && pwd)"
if [ -e "${RESULTS_DIR}" ] ; then
RESULTS_DIR="$(cd "${RESULTS_DIR}" && pwd)"
fi

if [ -z ${JDKS_DIR:-} ] ; then
JDKS_DIR="${HOME}/externalJdks"
Expand Down

0 comments on commit 28adbe9

Please sign in to comment.