Skip to content

Commit 69901f7

Browse files
committed
Fix activate script
1 parent 8f3d739 commit 69901f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

juhpc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ info() {
197197
echo -e "$(ENV["JUHPC"]) \$message" >&2
198198
}
199199
200+
error() {
201+
local message="\$1"
202+
info "\e[1;31mERROR:\e[0m \$message"
203+
exit 1
204+
}
205+
200206
JULIAUP_EXE="$(ENV["JULIAUP_BINDIR"])/juliaup"
201207
202208
if [ ! -f "\$JULIAUP_EXE" ]; then

0 commit comments

Comments
 (0)