Skip to content

Commit fd439d5

Browse files
committed
write log into installation dir
1 parent 94b94c0 commit fd439d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

juhpc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,15 @@ print_logo
9494
info "Starting installation of HPC setup for juliaup, julia and HPC key packages requiring system libraries..."
9595
check_var "JULIAUP_INSTALLDIR" "JUHPC_SETUP_INSTALLDIR"
9696
check_dir "$JUHPC_SETUP_INSTALLDIR"
97+
mkdir -p "$JUHPC_SETUP_INSTALLDIR" || { error "failed to create directory: $JUHPC_SETUP_INSTALLDIR"; }
9798

9899

99100
# Download and install julia in /tmp using juliaup
100101

101102
info "Installing juliaup and julia temporarily in $TMP_JULIAUP_ROOTDIR..."
102103

103104
export TMP_JULIAUP_BINDIR="$TMP_JULIAUP_ROOTDIR/bin" # juliaup and julia binaries
104-
export TMP_JULIAUP_LOG="$TMP/tmpjuliaup.log"
105+
export TMP_JULIAUP_LOG="$JUHPC_SETUP_INSTALLDIR/setup_install.log"
105106
export JULIAUP_DEPOT_PATH="$TMP_JULIAUP_ROOTDIR/depot"
106107
export JULIA_DEPOT_PATH="$TMP_JULIAUP_ROOTDIR/depot"
107108
export JULIA_PROJECT="$JULIA_DEPOT_PATH/environments/latest"

0 commit comments

Comments
 (0)