Skip to content

Commit 2bd2b3b

Browse files
committed
Check if temporary installation successful
1 parent e24de9b commit 2bd2b3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

juhpc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ export PATH=$TMP_JULIAUP_BINDIR:$PATH
9696
check_dir "$TMP_JULIAUP_ROOTDIR"
9797
curl -fsSL https://install.julialang.org | sh -s -- --add-to-path=no --yes --path=$TMP_JULIAUP_ROOTDIR --background-selfupdate 0 --startup-selfupdate 0 || { error "failed to install Juliaup (and Julia) in $TMP_JULIAUP_ROOTDIR."; }
9898

99+
if [ ! -f "$TMP_JULIAUP_BINDIR/juliaup" ]; then error "temporary juliaup installation failed."; fi
100+
99101
info "... done."
100102

101103

0 commit comments

Comments
 (0)