Skip to content

Commit bff7fb7

Browse files
authored
Merge pull request #14 from JuliaParallel/initial
Remove potential juliaup installations from path for temporal install
2 parents 9045b5b + 8a1d680 commit bff7fb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

juhpc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export TMP_JULIAUP_BINDIR=$TMP_JULIAUP_ROOTDIR/bin # juliaup and julia binaries
9090
export JULIAUP_DEPOT_PATH=$TMP_JULIAUP_ROOTDIR/depot
9191
export JULIA_DEPOT_PATH=$TMP_JULIAUP_ROOTDIR/depot
9292
export JULIA_PROJECT=$JULIA_DEPOT_PATH/environments/latest
93+
export PATH=$(echo $PATH | perl -pe "s|[^:]*juliaup(?:_wrapper)?[^:]*:?||g") # Remove all juliaup paths from PATH
9394
export PATH=$TMP_JULIAUP_BINDIR:$PATH
9495

9596
check_dir "$TMP_JULIAUP_ROOTDIR"

0 commit comments

Comments
 (0)