mhonarc-commits
[Top] [All Lists]

CVS: devtools/bin release,1.22,1.23

2005-07-16 00:57:49
Update of devtools/bin
Modified Files:
	release 
Log Message:
+ Added ENV_KEEP configuration key for release.conf: Specifies a
  list of environment variables that should be preserved from
  the calling process.


======================================================================
FILE: devtools/bin/release
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/devtools/bin/release?rev=1.23>

<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/devtools/bin/release.diff?r1=1.22&r2=1.23&diff_format=h>
--- release	20 Jul 2003 00:05:47 -0000	1.22
+++ release	16 Jul 2005 07:57:43 -0000	1.23
@@ -238,4 +238,8 @@
   }
 
+  foreach (@{$CONFIG->{'ENV_KEEP'}}) {
+    $ENV{$_} = $ENV_ORG{$_}  if defined $ENV_ORG{$_};
+  }
+
   if ($CONFIG->{'PATH'}) {
     $ENV{'PATH'} = $CONFIG->{'PATH'};
@@ -977,4 +981,7 @@
     # File creation umask.  Notice how there is NO quotes used.
     UMASK               => 002,
+
+    # List of environment variables to preserve from calling process
+    ENV_KEEP            => [ ],
 
   };


---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS