Commit ec33292
authored
Avoid error when unloading EasyBuild module
When unloading EasyBuild with the extend-Module loaded it fails with:
Lmod has detected the following error: Unable to load module because of error when evaluating modulefile:
/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen4/modules/all/EESSI-extend/2023.06-easybuild.lua: [string "help([==[..."]:239: attempt to compare string with nil
This is due to the easybuild_version being not set.
Change the order of the mode check and include the dependency check type1 parent 97a004d commit ec33292
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments