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