summaryrefslogtreecommitdiffstats
path: root/el7/environment-modules-clear.patch
blob: 0817db5c23c36e2108cbb52481422b9ee90e1bf9 (plain)
1
2
3
4
5
6
7
8
9
10
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);
 		}