summaryrefslogtreecommitdiffstats
path: root/el6/environment-modules-3.2.9-call-test-by-full-path-in-csh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'el6/environment-modules-3.2.9-call-test-by-full-path-in-csh.patch')
-rw-r--r--el6/environment-modules-3.2.9-call-test-by-full-path-in-csh.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/el6/environment-modules-3.2.9-call-test-by-full-path-in-csh.patch b/el6/environment-modules-3.2.9-call-test-by-full-path-in-csh.patch
new file mode 100644
index 0000000..2e8b04e
--- /dev/null
+++ b/el6/environment-modules-3.2.9-call-test-by-full-path-in-csh.patch
@@ -0,0 +1,11 @@
+--- modules-3.2.9/init/csh.in 2010-11-11 19:23:18.000000000 +0100
++++ modules-3.2.9-new/init/csh.in 2013-05-14 08:43:11.686954109 +0200
+@@ -34,7 +34,7 @@
+ set prefix = "$prefix""set noglob;"
+ set postfix = "$postfix""unset noglob;"
+ endif
+-set postfix = "set _exit="'$status'"; $postfix; test 0 = "'$_exit;'
++set postfix = "set _exit="'$status'"; $postfix; @bindir@/test 0 = "'$_exit;'
+
+ @VERSIONING@alias module $prefix'eval `'$exec_prefix'/bin/modulecmd '$modules_shell' '$histchar'*`; '$postfix
+ @NOTVERSIONING@alias module $prefix'eval `'$exec_prefix'/modulecmd '$modules_shell' '$histchar'*`; '$postfix