summaryrefslogtreecommitdiffstats
path: root/el7/environment-modules-clear.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-17 06:44:29 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-17 06:44:29 +0100
commit4bd31f0da05570e94b4d17c4de8f5cfe75fa65ca (patch)
tree0d8010c432defe6f7c81cb0981e670c6d3ae57cf /el7/environment-modules-clear.patch
environment-modules: import from RHEL
Diffstat (limited to 'el7/environment-modules-clear.patch')
-rw-r--r--el7/environment-modules-clear.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/el7/environment-modules-clear.patch b/el7/environment-modules-clear.patch
new file mode 100644
index 0000000..0817db5
--- /dev/null
+++ b/el7/environment-modules-clear.patch
@@ -0,0 +1,11 @@
+--- modules-3.2.9/utility.c 2011-11-28 22:27:13.000000000 +0100
++++ modules-3.2.9-new/utility.c 2012-06-13 15:17:41.570629148 +0200
+@@ -727,7 +727,7 @@ int Output_Modulefile_Changes( Tcl_Inter
+ output_unset_variable( (char*) key);
+ } else {
+ val = EMGetEnv(interp, key);
+- if(val && *val)
++ if(val)
+ output_set_variable(interp, (char*) key, val);
+ null_free((void *)&val);
+ }