Skip to content

Instantly share code, notes, and snippets.

@rungitta
Created March 28, 2023 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rungitta/2a5d046cd09eabfd8cf303e22283c7aa to your computer and use it in GitHub Desktop.
Save rungitta/2a5d046cd09eabfd8cf303e22283c7aa to your computer and use it in GitHub Desktop.
install -m 0775 -d /tmp/test/lmod/8.7.22/libexec
install -m 0775 -d /tmp/test/lmod/8.7.22/tools
install -m 0775 -d /tmp/test/lmod/8.7.22/settarg
install -m 0775 -d /tmp/test/lmod/8.7.22/shells
install -m 0775 -d /tmp/test/lmod/8.7.22/init
install -m 0775 -d /tmp/test/lmod/8.7.22/lib
install -m 0775 -d /tmp/test/lmod/8.7.22/modulefiles/Core
install -m 0775 -d /tmp/test/lmod/8.7.22/share/man/cat1
install -m 0775 -d /tmp/test/lmod/8.7.22/messageDir
install -m 0775 -d /tmp/test/lmod/8.7.22/tools/i18n
install -m 0775 -d /tmp/test/lmod/8.7.22/init/fish_tab_completion
install -m 0775 -d /tmp/test/lmod/8.7.22/init/ksh_funcs
if [ -d ./pkgs ]; then \
make -C ./pkgs LUA_INC=-I/usr/include/lua5.3 \
LIB=/tmp/test/lmod/8.7.22/lib SHARE=/tmp/test/lmod/8.7.22/libexec CC="gcc" \
MODE_R=0664 \
install; \
fi
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs'
cd term; make install
make[2]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs/term'
mkdir -p /tmp/test/lmod/8.7.22/libexec/term
mkdir -p /tmp/test/lmod/8.7.22/lib/term
gcc -fPIC -I/usr/include/lua5.3 -c -o core.o core.c
gcc -fPIC -I/usr/include/lua5.3 -shared -Wl,-soname,core.so.1 -o core.so.1.0.1 core.o -lc
ln -s core.so.1.0.1 core.so.1
ln -s core.so.1 core.so
install -m 0664 *.so* /tmp/test/lmod/8.7.22/lib/term
install -m 0664 term/*.lua /tmp/test/lmod/8.7.22/libexec/term
make[2]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs/term'
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs'
if [ -d ./pkgs/luafilesystem ]; then \
make -C ./pkgs/luafilesystem LUA_INC=-I/usr/include/lua5.3 \
LIB=/tmp/test/lmod/8.7.22/lib SHARE=/tmp/test/lmod/8.7.22/libexec CC="gcc" \
MODE_R=0664 \
install; \
fi
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs/luafilesystem'
gcc -fPIC -I/usr/include/lua5.3 -c -o lfs.o lfs.c
gcc -fPIC -I/usr/include/lua5.3 -shared -Wl,-soname,lfs.so.1 -o lfs.so.1.0.1 lfs.o -lc
ln -s lfs.so.1.0.1 lfs.so.1
ln -s lfs.so.1 lfs.so
install -m 0664 *.so* /tmp/test/lmod/8.7.22/lib
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs/luafilesystem'
if [ -d ./pkgs/tcl2lua ]; then \
make -C ./pkgs/tcl2lua LUA_INC=-I/usr/include/lua5.3 \
TCL_INCLUDE=-I/usr/include/tcl TCL_LIBS= \
LIB=/tmp/test/lmod/8.7.22/lib LIBS=-ltcl CC="gcc" \
SHARE=/tmp/test/lmod/8.7.22/libexec MODE_R=0664 \
install; \
fi
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs/tcl2lua'
gcc -DLUA_COMPAT_MODULE -fPIC -I/usr/include/lua5.3 -I/usr/include/tcl -c -o tcl2lua.o tcl2lua.c
gcc -DLUA_COMPAT_MODULE -fPIC -I/usr/include/lua5.3 -I/usr/include/tcl -shared -Wl,-soname,tcl2lua.so.1 -o tcl2lua.so.1.0.1 tcl2lua.o -lc -ltcl
ln -s tcl2lua.so.1.0.1 tcl2lua.so.1
ln -s tcl2lua.so.1 tcl2lua.so
install -m 0664 *.so* /tmp/test/lmod/8.7.22/lib
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22/pkgs/tcl2lua'
make FILELIST="init/lmodrc.lua" DIRLOC=/tmp/test/lmod/8.7.22/init GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in init/lmodrc.lua; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/init/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/init/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/init/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/init/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/init/$mname"; \
mv /tmp/test/lmod/8.7.22/init/$fn /tmp/test/lmod/8.7.22/init/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/init/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="init/bash.in init/cmake init/csh.in init/ksh.in init/tcsh.in init/zsh.in init/sh.in init/perl init/R init/env_modules_python.py.in init/lmod_bash_completions init/fish.in init/lisp init/env_modules_ruby.rb.in init/rc.in" DIRLOC=/tmp/test/lmod/8.7.22/init GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in init/bash.in init/cmake init/csh.in init/ksh.in init/tcsh.in init/zsh.in init/sh.in init/perl init/R init/env_modules_python.py.in init/lmod_bash_completions init/fish.in init/lisp init/env_modules_ruby.rb.in init/rc.in; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/init/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/init/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/init/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/init/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/init/$mname"; \
mv /tmp/test/lmod/8.7.22/init/$fn /tmp/test/lmod/8.7.22/init/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/init/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="init/profile.in init/profile.fish.in init/profile.rc.in init/cshrc.in" DIRLOC=/tmp/test/lmod/8.7.22/init GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in init/profile.in init/profile.fish.in init/profile.rc.in init/cshrc.in; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/init/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/init/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/init/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/init/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/init/$mname"; \
mv /tmp/test/lmod/8.7.22/init/$fn /tmp/test/lmod/8.7.22/init/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/init/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="src/Timer.lua src/mrc_load.lua src/HookArray.lua src/Var.lua src/LocationT.lua src/ReadLmodRC.lua src/Configuration.lua src/StandardPackage.lua src/collectionFileA.lua src/loadModuleFile.lua src/MC_CheckSyntax.lua src/modfuncs.lua src/cmdfuncs.lua src/FrameStk.lua src/mrc_sandbox.lua src/printEnvT.lua src/Cache.lua src/MN_Between.lua src/parseVersion.lua src/MN_Exact.lua src/Exec.lua src/MN_Latest.lua src/MC_Show.lua src/colorize.lua src/PkgBase.lua src/Spider.lua src/DirTree.lua src/MC_MgrLoad.lua src/Pkg.lua src/MC_Refresh.lua src/MC_Access.lua src/Version.lua src/myGlobals.lua src/convertSh2MF.lua src/MC_Spider.lua src/sandbox.lua src/MC_DependencyCk.lua src/Hub.lua src/SitePackage.lua src/pager.lua src/MainControl.lua src/MT.lua src/mrc_funcs.lua src/MN_Match.lua src/MC_Load.lua src/Hook.lua src/MRC.lua src/utils.lua src/Options.lua src/MName.lua src/CTimer.lua src/ModuleA.lua src/PkgTACC.lua src/MC_Unload.lua src/MC_ComputeHash.lua src/RC2lua.tcl src/tcl2lua.tcl" DIRLOC=/tmp/test/lmod/8.7.22/libexec GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in src/Timer.lua src/mrc_load.lua src/HookArray.lua src/Var.lua src/LocationT.lua src/ReadLmodRC.lua src/Configuration.lua src/StandardPackage.lua src/collectionFileA.lua src/loadModuleFile.lua src/MC_CheckSyntax.lua src/modfuncs.lua src/cmdfuncs.lua src/FrameStk.lua src/mrc_sandbox.lua src/printEnvT.lua src/Cache.lua src/MN_Between.lua src/parseVersion.lua src/MN_Exact.lua src/Exec.lua src/MN_Latest.lua src/MC_Show.lua src/colorize.lua src/PkgBase.lua src/Spider.lua src/DirTree.lua src/MC_MgrLoad.lua src/Pkg.lua src/MC_Refresh.lua src/MC_Access.lua src/Version.lua src/myGlobals.lua src/convertSh2MF.lua src/MC_Spider.lua src/sandbox.lua src/MC_DependencyCk.lua src/Hub.lua src/SitePackage.lua src/pager.lua src/MainControl.lua src/MT.lua src/mrc_funcs.lua src/MN_Match.lua src/MC_Load.lua src/Hook.lua src/MRC.lua src/utils.lua src/Options.lua src/MName.lua src/CTimer.lua src/ModuleA.lua src/PkgTACC.lua src/MC_Unload.lua src/MC_ComputeHash.lua src/RC2lua.tcl src/tcl2lua.tcl; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/libexec/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/libexec/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/libexec/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/libexec/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/libexec/$mname"; \
mv /tmp/test/lmod/8.7.22/libexec/$fn /tmp/test/lmod/8.7.22/libexec/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/libexec/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="tools/MF_Lua.lua tools/MF_Base.lua tools/Optiks.lua tools/serializeTbl.lua tools/declare.lua tools/lmod_system_execute.lua tools/Dbg.lua tools/replaceStr.lua tools/ColumnTable.lua tools/json.lua tools/BeautifulTbl.lua tools/pairsByKeys.lua tools/strict.lua tools/Optiks_Option.lua tools/deepcopy.lua tools/TermWidth.lua tools/Banner.lua tools/MF_TCL.lua tools/fileOps.lua tools/base64.lua tools/inherits.lua tools/Cosmic.lua tools/string_utils.lua tools/haveTermSupport.lua tools/capture.lua" DIRLOC=/tmp/test/lmod/8.7.22/tools GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in tools/MF_Lua.lua tools/MF_Base.lua tools/Optiks.lua tools/serializeTbl.lua tools/declare.lua tools/lmod_system_execute.lua tools/Dbg.lua tools/replaceStr.lua tools/ColumnTable.lua tools/json.lua tools/BeautifulTbl.lua tools/pairsByKeys.lua tools/strict.lua tools/Optiks_Option.lua tools/deepcopy.lua tools/TermWidth.lua tools/Banner.lua tools/MF_TCL.lua tools/fileOps.lua tools/base64.lua tools/inherits.lua tools/Cosmic.lua tools/string_utils.lua tools/haveTermSupport.lua tools/capture.lua; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/tools/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/tools/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/tools/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/tools/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/tools/$mname"; \
mv /tmp/test/lmod/8.7.22/tools/$fn /tmp/test/lmod/8.7.22/tools/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/tools/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="shells/Python.lua shells/Csh.lua shells/Ruby.lua shells/Rc.lua shells/Bash.lua shells/R.lua shells/Bare.lua shells/CMake.lua shells/Perl.lua shells/Fish.lua shells/Lisp.lua shells/BaseShell.lua" DIRLOC=/tmp/test/lmod/8.7.22/shells GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in shells/Python.lua shells/Csh.lua shells/Ruby.lua shells/Rc.lua shells/Bash.lua shells/R.lua shells/Bare.lua shells/CMake.lua shells/Perl.lua shells/Fish.lua shells/Lisp.lua shells/BaseShell.lua; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/shells/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/shells/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/shells/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/shells/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/shells/$mname"; \
mv /tmp/test/lmod/8.7.22/shells/$fn /tmp/test/lmod/8.7.22/shells/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/shells/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="settarg/utils.lua settarg/getUname.lua settarg/settarg_cmd.in.lua settarg/BuildTarget.lua settarg/Csh.lua settarg/BaseShell.lua settarg/Bash.lua settarg/Output.lua settarg/STT.lua settarg/settarg_rc.lua settarg/Version.lua settarg/ModifyPath.lua settarg/CmdLineOptions.lua settarg/Bare.lua settarg/ProcessModuleTable.lua settarg/TargValue.lua settarg/targ.in" DIRLOC=/tmp/test/lmod/8.7.22/settarg GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in settarg/utils.lua settarg/getUname.lua settarg/settarg_cmd.in.lua settarg/BuildTarget.lua settarg/Csh.lua settarg/BaseShell.lua settarg/Bash.lua settarg/Output.lua settarg/STT.lua settarg/settarg_rc.lua settarg/Version.lua settarg/ModifyPath.lua settarg/CmdLineOptions.lua settarg/Bare.lua settarg/ProcessModuleTable.lua settarg/TargValue.lua settarg/targ.in; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/settarg/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/settarg/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/settarg/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/settarg/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/settarg/$mname"; \
mv /tmp/test/lmod/8.7.22/settarg/$fn /tmp/test/lmod/8.7.22/settarg/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/settarg/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="MF/lmod.version.lua MF/settarg.version.lua" DIRLOC=/tmp/test/lmod/8.7.22/modulefiles/Core GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in MF/lmod.version.lua MF/settarg.version.lua; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/modulefiles/Core/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/modulefiles/Core/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/modulefiles/Core/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/modulefiles/Core/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/modulefiles/Core/$mname"; \
mv /tmp/test/lmod/8.7.22/modulefiles/Core/$fn /tmp/test/lmod/8.7.22/modulefiles/Core/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/modulefiles/Core/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
make FILELIST="src/computeHashSum.in.lua src/lmod.in.lua src/addto.in.lua src/spider.in.lua src/clearLMOD_cmd.in.lua src/ml_cmd.in.lua src/spiderCacheSupport.in.lua src/sh_to_modulefile.in.lua src/update_lmod_system_cache_files.in src/check_module_tree_syntax.in.lua sh_src/print_os.sh.in" DIRLOC=/tmp/test/lmod/8.7.22/libexec GIT_VERSION=8.7.22 __installMe
make[1]: Entering directory '/home/palrosen/lmod-test/Lmod-8.7.22'
for i in src/computeHashSum.in.lua src/lmod.in.lua src/addto.in.lua src/spider.in.lua src/clearLMOD_cmd.in.lua src/ml_cmd.in.lua src/spiderCacheSupport.in.lua src/sh_to_modulefile.in.lua src/update_lmod_system_cache_files.in src/check_module_tree_syntax.in.lua sh_src/print_os.sh.in; do \
bareN=${i##*/}; \
fn=${bareN%%.in*}; \
ext=${bareN#*.}; \
: echo "DIRLOC/fn: /tmp/test/lmod/8.7.22/libexec/$fn"; \
sed -e 's|@PREFIX@|/tmp/test|g' \
-e 's|@path_to_lua@|/usr/bin/lua5.3|g' \
-e 's|@hashsum@|/usr/bin/sha1sum|g' \
-e 's|@pager@|/usr/bin/less|g' \
-e 's|@case_independent_sorting@|no|g' \
-e 's|@lmod_settarg_full_support@|no|g' \
-e 's|@use_dot_files@|@use_dot_files@|g' \
-e 's|@lang@|<empty>|g' \
-e 's|@site_msg_file@|<empty>|g' \
-e 's|@git@|8.7.22|g' \
-e 's|--@ignore_dirs@--|[\".svn\"] = true, [\".git\"] = true, [\".hg\"] = true, [\".bzr\"] = true, |g' \
-e 's|@sys_lua_path@|/usr/local/share/lua/5.3/?.lua;/usr/local/share/lua/5.3/?/init.lua;/usr/local/lib/lua/5.3/?.lua;/usr/local/lib/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua|g' \
-e 's|@hidden_italic@|no|g' \
-e 's|@modulepath_init@|@PKG@/init/.modulespath|g' \
-e 's|@sys_lua_cpath@|/usr/local/lib/lua/5.3/?.so;/usr/lib/aarch64-linux-gnu/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/local/lib/lua/5.3/loadall.so;|g' \
-e 's|@path_to_luac@|/usr/bin/luac5.3|g' \
-e 's|@path_to_lmod@|/tmp/test/lmod/8.7.22/libexec/lmod|g' \
-e 's|@have_lua_term@||g' \
-e 's|@silence_shell_debugging@|yes|g' \
-e 's|@dynamic_spider_cache@|yes|g' \
-e 's|@fast_tcl_interp@|yes|g' \
-e 's|@settarg_cmd@|settarg_cmd|g' \
-e 's|@lmod_config_dir@|/etc/lmod|g' \
-e "s|@my_shell@|$fn|g" \
-e 's|@tclsh@|/usr/bin/tclsh|g' \
-e 's|@ls@|/usr/bin/ls|g' \
-e 's|@disable_name_autoswap@|no|g' \
-e 's|@tmod_path_rule@|no|g' \
-e 's|@tmod_find_first@|no|g' \
-e 's|@redirect@|no|g' \
-e 's|@basename@|/usr/bin/basename|g' \
-e 's|@support_ksh@|no|g' \
-e 's|@zsh_fpath@|/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle|g' \
-e 's|@cached_loads@|no|g' \
-e 's|@avail_extensions@|yes|g' \
-e 's|@ps@|/usr/bin/ps|g' \
-e 's|@readlink@|/usr/bin/readlink|g' \
-e 's|@site_name@|<empty>|g' \
-e 's|@site_controlled_prefix@|no|g' \
-e 's|@syshost@|<empty>|g' \
-e 's|@expr@|/usr/bin/expr|g' \
-e 's|@extended_default@|yes|g' \
-e 's|@libexec@|/tmp/test/lmod/8.7.22/libexec|g' \
-e 's|@legacy_ordering@|@LEGACY_ORDERING@|g' \
-e 's|@pin_versions@|no|g' \
-e 's|@auto_swap@|yes|g' \
-e 's|@sys_ld_lib_path@||g' \
-e 's|@sys_ld_preload@||g' \
-e 's|@export_module@|yes|g' \
-e 's|@lmod_version@|8.7.22|g' \
-e 's|@exact_match@|no|g' \
-e 's|@ancient@|86400|g' \
-e 's|@prepend_block@|normal|g' \
-e 's|@colorize@|yes|g' \
-e 's|@duplicate_paths@|no|g' \
-e 's|@allow_tcl_mfiles@|yes|g' \
-e 's|@mpath_avail@|no|g' \
-e 's|@short_time@|2|g' \
-e 's|@cacheDirs@||g' \
-e 's|@updateSystemFn@||g' \
-e 's|@modulepath_root@|/tmp/test/modulefiles|g' \
-e 's|@lmod_root@|/tmp/test/lmod|g' \
-e 's|@lmod_allow_root_use@|yes|g' \
-e 's|@lmod_use_dot_config_only@|no|g' \
-e 's|@PKGV@|/tmp/test/lmod/8.7.22|g' \
-e 's|@PKG@|/tmp/test/lmod/lmod|g' < $i > /tmp/test/lmod/8.7.22/libexec/$fn; \
chmod 0664 /tmp/test/lmod/8.7.22/libexec/$fn; \
[ "$ext" = "in.lua" -o "$ext" = "tcl" -o "$ext" = "in" \
-o "$ext" = "sh.in" ] && \
chmod 0775 /tmp/test/lmod/8.7.22/libexec/$fn; \
if [ "$ext" = "version.lua" ]; then \
mname=${bareN%%.*}; \
: echo "DIRLOC: /tmp/test/lmod/8.7.22/libexec/$mname"; \
mv /tmp/test/lmod/8.7.22/libexec/$fn /tmp/test/lmod/8.7.22/libexec/$mname.lua; \
chmod 0664 /tmp/test/lmod/8.7.22/libexec/$mname.lua; \
fi; \
done
make[1]: Leaving directory '/home/palrosen/lmod-test/Lmod-8.7.22'
/usr/bin/lua5.3 ./src/lmod.in.lua bash --help > /dev/null 2> /tmp/test/lmod/8.7.22/share/man/cat1/module.1
make: *** [makefile:242: man_pages] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment