Blame SOURCES/environment-modules-clear.patch

1a066f
--- modules-3.2.9/utility.c	2011-11-28 22:27:13.000000000 +0100
1a066f
+++ modules-3.2.9-new/utility.c	2012-06-13 15:17:41.570629148 +0200
1a066f
@@ -727,7 +727,7 @@ int Output_Modulefile_Changes(	Tcl_Inter
1a066f
 			output_unset_variable( (char*) key);
1a066f
 		} else {
1a066f
 			val = EMGetEnv(interp, key);
1a066f
-			if(val && *val)
1a066f
+			if(val)
1a066f
 				output_set_variable(interp, (char*) key, val);
1a066f
 			null_free((void *)&val;;
1a066f
 		}