File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -220,14 +220,16 @@ else
220
220
fi
221
221
""")
222
222
' > " $JULIAUP_WRAPPER "
223
+
224
+ if [ ! -s " $JULIAUP_WRAPPER " ]; then error " Juliaup wrapper is missing or empty." ; fi
223
225
chmod +x " $JULIAUP_WRAPPER "
224
226
225
227
info " ... done."
226
228
227
229
228
230
# Create an activation script that sets environment variables for juliaup, julia and HPC key packages
229
231
230
- info_start " Creating activation script"
232
+ info_start " Creating activate script"
231
233
232
234
export JULIAUP_DEPOT=" $JULIAUP_INSTALLDIR /depot"
233
235
export JULIA_DEPOT=" $JULIAUP_INSTALLDIR /depot"
@@ -263,6 +265,8 @@ $(haskey(ENV,"JUHPC_ADIOS2_HOME") && ENV["JUHPC_ADIOS2_HOME"] != "" ? """
263
265
""" : "")
264
266
""")' > " $ACTIVATE_SCRIPT "
265
267
268
+ if [ ! -s " $ACTIVATE_SCRIPT " ]; then error " Activate script is missing or empty." ; fi
269
+
266
270
info " ... done."
267
271
268
272
You can’t perform that action at this time.
0 commit comments