Function module_env.is_env_variable_valid_file_or_directory(shell_variables) throws an exception if a module variable does not point to a valid file or directory.
It should return the variable name & the thing that was checked and let module_check.py raise the exception.
New return value - empty list if there is nothing wrong.
Bad variables: [('SCC_MODNAME_INCLUDE','/share/pkg.8/modname/1.0/include'), ... etc... ]
and in module_check.check_files_dirs() print out a message with these "These are not files or directories!" and raise an exception.
Function module_env.is_env_variable_valid_file_or_directory(shell_variables) throws an exception if a module variable does not point to a valid file or directory.
It should return the variable name & the thing that was checked and let module_check.py raise the exception.
New return value - empty list if there is nothing wrong.
Bad variables: [('SCC_MODNAME_INCLUDE','/share/pkg.8/modname/1.0/include'), ... etc... ] and in module_check.check_files_dirs() print out a message with these "These are not files or directories!" and raise an exception.