rcs-si / module_check

Check if environment variables within a module file are defined correctly
2 stars 0 forks source link

Add a check if a LICENSE variable defined #5

Open katgit opened 1 year ago

katgit commented 1 year ago

We should treat the LICENSE variable as a special case. As with other env. variables we want to report if this variable is not defined correctly. But we also want to report if this variable is not present in the module file. In those cases we will manually check if the person who installed this software forgot to copy this file from sources.

bu-bgregor commented 4 months ago

This is currently checked as all env vars are checked to see if they point to valid directories or files.

New thing to check: if the LICENSE variable is not found, print a warning. Sometimes there isn't a valid license.

This would need a new example in modloadtest.