summaryrefslogtreecommitdiffstats
path: root/el6/environment-modules-3.2.9-clear.patch
diff options
context:
space:
mode:
Diffstat (limited to 'el6/environment-modules-3.2.9-clear.patch')
-rw-r--r--el6/environment-modules-3.2.9-clear.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/el6/environment-modules-3.2.9-clear.patch b/el6/environment-modules-3.2.9-clear.patch
new file mode 100644
index 0000000..0817db5
--- /dev/null
+++ b/el6/environment-modules-3.2.9-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);
+ }