Skip to content

Commit 49704a8

Browse files
committed
improve output
1 parent b4abaad commit 49704a8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

juhpc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ info_end "$INFO_MSG"
179179

180180
# Create a wrapper for juliaup that installs juliaup (and latest julia) on scratch if it is not already installed
181181

182-
INFO_MSG="Creating wrapper for juliaup"
183-
info_start "$INFO_MSG"
182+
info_start "Creating wrapper for juliaup"
184183

185184
export JULIAUP_WRAPPER_BINDIR="$JUHPC_SETUP_INSTALLDIR/juliaup_wrapper"
186185
export JULIAUP_WRAPPER="$JULIAUP_WRAPPER_BINDIR/juliaup"
@@ -217,13 +216,12 @@ fi
217216
' > "$JULIAUP_WRAPPER"
218217
chmod +x "$JULIAUP_WRAPPER"
219218

220-
info_end "$INFO_MSG"
219+
info "... done."
221220

222221

223222
# Create an activation script that sets environment variables for juliaup, julia and HPC key packages
224223

225-
INFO_MSG="Creating activation script"
226-
info_start "$INFO_MSG"
224+
info_start "Creating activation script"
227225

228226
export JULIAUP_DEPOT="$JULIAUP_INSTALLDIR/depot"
229227
export JULIA_DEPOT="$JULIAUP_INSTALLDIR/depot"
@@ -259,7 +257,7 @@ $(haskey(ENV,"JUHPC_ADIOS2_HOME") && ENV["JUHPC_ADIOS2_HOME"] != "" ? """
259257
""" : "")
260258
""")' > "$ACTIVATE_SCRIPT"
261259

262-
info_end "$INFO_MSG"
260+
info "... done."
263261

264262

265263
# Optionally execute a site-specific post installation julia script (if passed a third argument)

0 commit comments

Comments
 (0)