SHA256
1
0
forked from pool/Modules
Modules/share.patch
Klaus Kämpf 7feb74ef71 - update to 3.2.10
* Fixed the module switch with custom delimiters (Tyson Whitehead)
  * If a bash shell check if interactive or not for alias/functions
  * Fix the flags with regards to recursive load/unload
  * Fix perl.pm init file typo (bug 3497092)
  * Moved from cvs to git (and now: modulefile/module-git)
  * Fix the module swap with the --delim option (Tyson Whitehead)
  * Increased the "update" buffer (Leon Kos)
  * Use the locale for sorting modulefiles by the avail command
  * Fixed the segfault problem with Tcl_RegExpCompile() (Kenneth Hoste,
    Tyson Whitehead)
  * Updated the FSF address in LICENSE.GPL (Jan Synacek)
  * Forked the Tcl-only version to be maintained by Kent Mein.
  * Added the "module-info type" query to return 'C' to indicate that
    the modulecmd executable is the "C" version.
    (The Tcl-only version will return 'Tcl'.)
  * Search /usr/lib64 for tclConfig.sh also (Jan Synacek)
  * Tested loading 20 other modulefiles from a single one
  * Have ChangeLog generated by a script due to Marcus D. Hanwell

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/Modules?expand=0&rev=13
2012-12-21 09:01:30 +00:00

442 lines
21 KiB
Diff

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/configure ./configure
--- ../orig-modules-3.2.10/configure 2012-12-19 18:02:25.000000000 +0100
+++ ./configure 2012-12-21 09:56:47.801240538 +0100
@@ -1494,9 +1494,9 @@
(tclExtend.h,...) [[none]]
--with-module-path=<path>
use module path=<path>
- [[PREFIX/Modules/modulefiles]]
+ [[PREFIX/share/Modules/modulefiles]]
--with-version-path=<path>
- use version path=<path> [[PREFIX/Modules/versions]]
+ use version path=<path> [[PREFIX/share/Modules/versions]]
--with-tmp-dir=<dir> use <dir> as a temporary dir [[/tmp]]
--with-man-path=<dir> use <dir> for the default MANPATH
[[/usr/man:/usr/share/man]]
@@ -1513,19 +1513,19 @@
Depending on the above configuration options the files are approximately
placed in the following directory structure :
-PREFIX/Modules/($MODULES_VERSION/ if modules-versioning)
+PREFIX/share/Modules/($MODULES_VERSION/ if modules-versioning)
bin/
init/
man/
man1/
man4/
modulefiles/
-PREFIX/Modules/
+PREFIX/share/Modules/
modulefiles/
(versions/ if modules-versioning)
System modulefiles can safely be placed in:
-PREFIX/Modules/modulefiles
+PREFIX/share/Modules/modulefiles
Some influential environment variables:
@@ -2922,31 +2922,31 @@
fi
if test "$prefix" != "NONE" ; then
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$prefix/Modules/default
- NODEFAULTPATH=$prefix/Modules/$VERSION
+ DEFAULTPATH=$prefix/share/Modules/default
+ NODEFAULTPATH=$prefix/share/Modules/$VERSION
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules/$VERSION
+ prefix=$BASEPREFIX/share/Modules/$VERSION
export prefix
else
- DEFAULTPATH=$prefix/Modules
- NODEFAULTPATH=$prefix/Modules
+ DEFAULTPATH=$prefix/share/Modules
+ NODEFAULTPATH=$prefix/share/Modules
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules
+ prefix=$BASEPREFIX/share/Modules
export prefix
fi
PREFIX=$prefix
else
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$ac_default_prefix/Modules/default
- NODEFAULTPATH=$ac_default_prefix/Modules/$VERSION
+ DEFAULTPATH=$ac_default_prefix/share/Modules/default
+ NODEFAULTPATH=$ac_default_prefix/share/Modules/$VERSION
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules/$VERSION
+ ac_default_prefix=$BASEPREFIX/share/Modules/$VERSION
export ac_default_prefix
else
- DEFAULTPATH=$ac_default_prefix/Modules
- NODEFAULTPATH=$ac_default_prefix/Modules
+ DEFAULTPATH=$ac_default_prefix/share/Modules
+ NODEFAULTPATH=$ac_default_prefix/share/Modules
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules
+ ac_default_prefix=$BASEPREFIX/share/Modules
export ac_default_prefix
fi
PREFIX=$ac_default_prefix
@@ -7516,7 +7516,7 @@
_ACEOF
else
- withval="$BASEPREFIX/Modules/modulefiles"
+ withval="$BASEPREFIX/share/Modules/modulefiles"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will use MODULEPATH=$withval : rerun configure using --with-module-path to override default" >&5
$as_echo "$as_me: WARNING: will use MODULEPATH=$withval : rerun configure using --with-module-path to override default" >&2;}
MODULEPATH="$withval"
@@ -7538,7 +7538,7 @@
else
if test "$WANTS_VERSIONING" -eq 1 ; then
- withval="$BASEPREFIX/Modules/versions"
+ withval="$BASEPREFIX/share/Modules/versions"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will use VERSIONPATH=$withval : rerun configure using --with-version-path to override default" >&5
$as_echo "$as_me: WARNING: will use VERSIONPATH=$withval : rerun configure using --with-version-path to override default" >&2;}
VERSIONPATH="$withval"
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/configure.ac ./configure.ac
--- ../orig-modules-3.2.10/configure.ac 2012-12-18 17:31:18.000000000 +0100
+++ ./configure.ac 2012-12-21 09:56:47.801240538 +0100
@@ -110,31 +110,31 @@
fi
if test "$prefix" != "NONE" ; then
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$prefix/Modules/default
- NODEFAULTPATH=$prefix/Modules/$VERSION
+ DEFAULTPATH=$prefix/share/Modules/default
+ NODEFAULTPATH=$prefix/share/Modules/$VERSION
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules/$VERSION
+ prefix=$BASEPREFIX/share/Modules/$VERSION
export prefix
else
- DEFAULTPATH=$prefix/Modules
- NODEFAULTPATH=$prefix/Modules
+ DEFAULTPATH=$prefix/share/Modules
+ NODEFAULTPATH=$prefix/share/Modules
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules
+ prefix=$BASEPREFIX/share/Modules
export prefix
fi
PREFIX=$prefix
else
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$ac_default_prefix/Modules/default
- NODEFAULTPATH=$ac_default_prefix/Modules/$VERSION
+ DEFAULTPATH=$ac_default_prefix/share/Modules/default
+ NODEFAULTPATH=$ac_default_prefix/share/Modules/$VERSION
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules/$VERSION
+ ac_default_prefix=$BASEPREFIX/share/Modules/$VERSION
export ac_default_prefix
else
- DEFAULTPATH=$ac_default_prefix/Modules
- NODEFAULTPATH=$ac_default_prefix/Modules
+ DEFAULTPATH=$ac_default_prefix/share/Modules
+ NODEFAULTPATH=$ac_default_prefix/share/Modules
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules
+ ac_default_prefix=$BASEPREFIX/share/Modules
export ac_default_prefix
fi
PREFIX=$ac_default_prefix
@@ -816,13 +816,13 @@
AH_TEMPLATE([MODULEPATH],[
MODULEPATH: Directory that contains all the system module files])dnl
AC_ARG_WITH(module-path,
- AC_HELP_STRING([--with-module-path=<path>],[use module path=<path> [[PREFIX/Modules/modulefiles]]]),
+ AC_HELP_STRING([--with-module-path=<path>],[use module path=<path> [[PREFIX/share/Modules/modulefiles]]]),
MODULEPATH="$withval"
AC_MSG_RESULT([MODULEPATH = $with_module_path])
AC_DEFINE_UNQUOTED(MODULEPATH, "$withval")dnl
,
dnl AC_MSG_WARN([if using '--with-module-path': need to specify a path!])
- withval="$BASEPREFIX/Modules/modulefiles"
+ withval="$BASEPREFIX/share/Modules/modulefiles"
AC_MSG_WARN([will use MODULEPATH=$withval : rerun configure using --with-module-path to override default])
MODULEPATH="$withval"
AC_DEFINE_UNQUOTED(MODULEPATH, "$withval"))dnl
@@ -833,14 +833,14 @@
AH_TEMPLATE([VERSIONPATH],[
VERSIONPATH: Directory that contains the env.modules version files.])dnl
AC_ARG_WITH(version-path,
- AC_HELP_STRING([--with-version-path=<path>],[use version path=<path> [[PREFIX/Modules/versions]]]),
+ AC_HELP_STRING([--with-version-path=<path>],[use version path=<path> [[PREFIX/share/Modules/versions]]]),
VERSIONPATH="$withval"
AC_MSG_RESULT([VERSIONPATH = $with_version_path])
AC_DEFINE_UNQUOTED(VERSIONPATH, "$withval")
,
if test "$WANTS_VERSIONING" -eq 1 ; then
dnl AC_MSG_WARN([if using '--with-version-path': need to specify a path!])
- withval="$BASEPREFIX/Modules/versions"
+ withval="$BASEPREFIX/share/Modules/versions"
AC_MSG_WARN([will use VERSIONPATH=$withval : rerun configure using --with-version-path to override default])
VERSIONPATH="$withval"
AC_DEFINE_UNQUOTED(VERSIONPATH, "$withval")
@@ -961,19 +961,19 @@
Depending on the above configuration options the files are approximately
placed in the following directory structure :
-PREFIX/Modules/($MODULES_VERSION/ if modules-versioning)
+PREFIX/share/Modules/($MODULES_VERSION/ if modules-versioning)
bin/
init/
man/
man1/
man4/
modulefiles/
-PREFIX/Modules/
+PREFIX/share/Modules/
modulefiles/
(versions/ if modules-versioning)
System modulefiles can safely be placed in:
-PREFIX/Modules/modulefiles
+PREFIX/share/Modules/modulefiles
]])dnl
dnl ---------------------------------------------------------------------------
dnl Now put it all out!
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/etc/add.modules.in ./etc/add.modules.in
--- ../orig-modules-3.2.10/etc/add.modules.in 2012-11-01 23:22:06.000000000 +0100
+++ ./etc/add.modules.in 2012-12-21 09:56:47.801240538 +0100
@@ -144,7 +144,7 @@
-zsh|zsh|*/zsh) modules_shell=zsh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-@VERSIONING@module() { eval \`@BASEPREFIX@/Modules/\$MODULE_VERSION/bin/modulecmd \$modules_shell \$*\`; }
+@VERSIONING@module() { eval \`@BASEPREFIX@/share/Modules/\$MODULE_VERSION/bin/modulecmd \$modules_shell \$*\`; }
@NOTVERSIONING@module() { eval \`@bindir@/modulecmd \$modules_shell \$*\`; }
!
elif [ x$3 = xcsh ]
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/etc/global/bashrc.in ./etc/global/bashrc.in
--- ../orig-modules-3.2.10/etc/global/bashrc.in 2012-10-25 21:32:01.000000000 +0200
+++ ./etc/global/bashrc.in 2012-12-21 09:56:47.805240699 +0100
@@ -11,7 +11,7 @@
-zsh|zsh|*/zsh) modules_shell=zsh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-@VERSIONING@eval "module() { eval \`@BASEPREFIX@/Modules\$MODULE_VERSION/bin/modulecmd $modules_shell \$*\`; }"
+@VERSIONING@eval "module() { eval \`@BASEPREFIX@/share/Modules\$MODULE_VERSION/bin/modulecmd $modules_shell \$*\`; }"
@NOTVERSIONING@eval "module() { eval \`@bindir@/modulecmd $modules_shell \$*\`; }"
unset modules_shell
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/etc/global/csh.cshrc.in ./etc/global/csh.cshrc.in
--- ../orig-modules-3.2.10/etc/global/csh.cshrc.in 2012-10-25 21:32:01.000000000 +0200
+++ ./etc/global/csh.cshrc.in 2012-12-21 09:56:47.805240699 +0100
@@ -10,7 +10,7 @@
set modules_shell="csh"
endif
-@VERSIONING@alias module 'eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
+@VERSIONING@alias module 'eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
@NOTVERSIONING@alias module 'eval `@bindir@/modulecmd '$modules_shell '\!*`'
unset modules_shell
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/etc/skel/.cshrc.in ./etc/skel/.cshrc.in
--- ../orig-modules-3.2.10/etc/skel/.cshrc.in 2012-10-25 21:32:01.000000000 +0200
+++ ./etc/skel/.cshrc.in 2012-12-21 09:56:47.805240699 +0100
@@ -4,7 +4,7 @@
else
set modules_shell="csh"
endif
-@VERSIONING@alias module 'eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
+@VERSIONING@alias module 'eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
@NOTVERSIONING@alias module 'eval `@bindir@/modulecmd '$modules_shell '\!*`'
if (! $?prompt) exit #exit if not interactive
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/etc/skel/.kshenv.in ./etc/skel/.kshenv.in
--- ../orig-modules-3.2.10/etc/skel/.kshenv.in 2012-10-25 21:32:01.000000000 +0200
+++ ./etc/skel/.kshenv.in 2012-12-21 09:56:47.805240699 +0100
@@ -4,7 +4,7 @@
-ksh|ksh|*/ksh) modules_shell=ksh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-@VERSIONING@eval "module() { eval `@BASEPREFIX@/Modules/\$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }"
+@VERSIONING@eval "module() { eval `@BASEPREFIX@/share/Modules/\$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }"
@NOTVERSIONING@eval "module() { eval `@bindir@/modulecmd $modules_shell $*`; }"
unset modules_shell
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/ext/common/.cshrc.in ./ext/common/.cshrc.in
--- ../orig-modules-3.2.10/ext/common/.cshrc.in 2012-10-25 21:32:01.000000000 +0200
+++ ./ext/common/.cshrc.in 2012-12-21 09:56:47.805240699 +0100
@@ -4,7 +4,7 @@
else
set modules_shell="csh"
endif
-alias module 'eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
+alias module 'eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
if ( -f $HOME/.cshrc.ext ) then
source $HOME/.cshrc.ext
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/ext/common/.kshenv.in ./ext/common/.kshenv.in
--- ../orig-modules-3.2.10/ext/common/.kshenv.in 2012-10-25 21:32:01.000000000 +0200
+++ ./ext/common/.kshenv.in 2012-12-21 09:56:47.805240699 +0100
@@ -4,7 +4,7 @@
-ksh|ksh|*/ksh) modules_shell=ksh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }
+module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }
if [ -f ${ENV:-$HOME/.kshenv.ext} ]; then
. ${ENV:-$HOME/.kshenv.ext}
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/bash_completion.in ./init/bash_completion.in
--- ../orig-modules-3.2.10/init/bash_completion.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/bash_completion.in 2012-12-21 09:56:47.805240699 +0100
@@ -2,7 +2,7 @@
# Bash commandline completion (bash 3.0 and above) for Modules @VERSION@
#
_module_avail() {
-@VERSIONING@ @BASEPREFIX@/Modules/@VERSION@/bin/modulecmd bash -t avail 2>&1 | sed '
+@VERSIONING@ @BASEPREFIX@/share/Modules/@VERSION@/bin/modulecmd bash -t avail 2>&1 | sed '
@NOTVERSIONING@ @bindir@/modulecmd bash -t avail 2>&1 | sed '
/:$/d;
/:ERROR:/d;
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/bash.in ./init/bash.in
--- ../orig-modules-3.2.10/init/bash.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/bash.in 2012-12-21 09:56:47.805240699 +0100
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd bash $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd bash $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd bash $*`; }
export -f module
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/cmake.in ./init/cmake.in
--- ../orig-modules-3.2.10/init/cmake.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/cmake.in 2012-12-21 09:56:47.805240699 +0100
@@ -6,7 +6,7 @@
@VERSIONING@endif()
function(module ARGS)
-@VERSIONING@ set(exec_prefix "@BASEPREFIX@/Modules/$ENV{MODULE_VERSION}/bin")
+@VERSIONING@ set(exec_prefix "@BASEPREFIX@/share/Modules/$ENV{MODULE_VERSION}/bin")
@NOTVERSIONING@ set(exec_prefix "@bindir@")
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/csh.in ./init/csh.in
--- ../orig-modules-3.2.10/init/csh.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/csh.in 2012-12-21 09:56:47.805240699 +0100
@@ -9,7 +9,7 @@
@VERSIONING@ setenv MODULE_VERSION "@VERSION@"
@VERSIONING@ setenv MODULE_VERSION_STACK "@VERSION@"
@VERSIONING@endif
-@VERSIONING@set exec_prefix='@BASEPREFIX@/Modules/$MODULE_VERSION'
+@VERSIONING@set exec_prefix='@BASEPREFIX@/share/Modules/$MODULE_VERSION'
@NOTVERSIONING@set exec_prefix='@bindir@'
set prefix=""
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/ksh.in ./init/ksh.in
--- ../orig-modules-3.2.10/init/ksh.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/ksh.in 2012-12-21 09:56:47.805240699 +0100
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd ksh $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd ksh $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd ksh $*`; }
MODULESHOME=@prefix@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/.modulespath.in ./init/.modulespath.in
--- ../orig-modules-3.2.10/init/.modulespath.in 2012-11-01 23:23:23.000000000 +0100
+++ ./init/.modulespath.in 2012-12-21 09:56:47.805240699 +0100
@@ -14,7 +14,7 @@
# limited by the maximum variable size of your shell.
#
@VERSIONING@@VERSIONPATH@ # location of version files
-@VERSIONING@@BASEPREFIX@/Modules/$MODULE_VERSION/modulefiles # Module pkg modulefiles (if versioning)
-@NOTVERSIONING@@BASEPREFIX@/Modules/modulefiles # Module pkg modulefiles (if no versioning)
+@VERSIONING@@BASEPREFIX@/share/Modules/$MODULE_VERSION/modulefiles # Module pkg modulefiles (if versioning)
+@NOTVERSIONING@@BASEPREFIX@/share/Modules/modulefiles # Module pkg modulefiles (if no versioning)
@MODULEPATH@ # General module files
#@prefix@/your_contribs # Edit for your requirements
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/perl.pm.in ./init/perl.pm.in
--- ../orig-modules-3.2.10/init/perl.pm.in 2012-11-01 17:58:27.000000000 +0100
+++ ./init/perl.pm.in 2012-12-21 09:56:47.805240699 +0100
@@ -7,7 +7,7 @@
sub module {
local ($exec_prefix);
-@VERSIONING@ $exec_prefix = "@BASEPREFIX@/Modules/".$ENV{"MODULE_VERSION"};
+@VERSIONING@ $exec_prefix = "@BASEPREFIX@/share/Modules/".$ENV{"MODULE_VERSION"};
@VERSIONING@ eval `$exec_prefix/bin/modulecmd perl @_`;
@NOTVERSIONING@ $exec_prefix = "@bindir@";
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/python.py.in ./init/python.py.in
--- ../orig-modules-3.2.10/init/python.py.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/python.py.in 2012-12-21 09:56:47.805240699 +0100
@@ -24,7 +24,7 @@
args = args[0]
else:
args = list(args)
-@VERSIONING@ (output, error) = subprocess.Popen(['@BASEPREFIX@/Modules/%s/bin/modulecmd' % os.environ['MODULE_VERSION'], 'python'] +
+@VERSIONING@ (output, error) = subprocess.Popen(['@BASEPREFIX@/share/Modules/%s/bin/modulecmd' % os.environ['MODULE_VERSION'], 'python'] +
@NOTVERSIONING@ (output, error) = subprocess.Popen(['@bindir@/modulecmd', 'python'] +
args, stdout=subprocess.PIPE).communicate()
exec output
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/ruby.rb.in ./init/ruby.rb.in
--- ../orig-modules-3.2.10/init/ruby.rb.in 2012-10-25 21:32:01.000000000 +0200
+++ ./init/ruby.rb.in 2012-12-21 09:56:47.805240699 +0100
@@ -22,7 +22,7 @@
else
args = args.join(" ")
end
-@VERSIONING@ exec_prefix = "@BASEPREFIX@/Modules/#{ENV['MODULE_VERSION']}"
+@VERSIONING@ exec_prefix = "@BASEPREFIX@/share/Modules/#{ENV['MODULE_VERSION']}"
@VERSIONING@ eval `#{exec_prefix}/bin/modulecmd ruby #{args}`
@NOTVERSIONING@ exec_prefix = "@bindir@"
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/sh.in ./init/sh.in
--- ../orig-modules-3.2.10/init/sh.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/sh.in 2012-12-21 09:56:47.805240699 +0100
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd sh $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd sh $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd sh $*`; }
MODULESHOME=@prefix@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/init/zsh.in ./init/zsh.in
--- ../orig-modules-3.2.10/init/zsh.in 2012-10-25 21:33:34.000000000 +0200
+++ ./init/zsh.in 2012-12-21 09:56:47.805240699 +0100
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd zsh $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd zsh $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd zsh $*`; }
MODULESHOME=@prefix@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile ../orig-modules-3.2.10/INSTALL ./INSTALL
--- ../orig-modules-3.2.10/INSTALL 2012-10-25 21:32:01.000000000 +0200
+++ ./INSTALL 2012-12-21 09:56:47.805240699 +0100
@@ -103,7 +103,7 @@
your system root, else it may get wiped out with every OS upgrade.
The default is /usr/local/Modules/modulefiles/. You will use the
--with-module-path=<path> option to the configure script to set this
-directory. The default is $prefix/Modules/modulefiles, where
+directory. The default is $prefix/share/Modules/modulefiles, where
$prefix is set by the the --prefix configure option. (The default
is /usr/local.)
After the initial hardwork of getting the module command
@@ -152,7 +152,7 @@
--prefix=/alternate/usr/local/or/equivalent/1.0/eg
The default for --prefix is /usr/local ($prefix).
-The default for --with-module-path is "$prefix/Modules/modulefiles".
+The default for --with-module-path is "$prefix/share/Modules/modulefiles".
If you have trouble with the configuration, then consider
Run "./configure --help" to view some of the other options.