Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25669/perlmod/Fink
Modified Files:
ChangeLog PkgVersion.pm
Log Message:
allowing passage of TERM in build %ENV
Index: PkgVersion.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/PkgVersion.pm,v
retrieving revision 1.379
retrieving revision 1.380
diff -u -d -r1.379 -r1.380
--- PkgVersion.pm 16 Apr 2005 16:14:58 -0000 1.379
+++ PkgVersion.pm 16 Apr 2005 22:09:15 -0000 1.380
@@ -3327,6 +3327,7 @@
# script when starting with the (purified) ENV we have so far
if (-r "$basepath/bin/init.sh") {
my %temp_ENV = %ENV; # need to activatescript_env, so save ENV
for later
+
%ENV = %script_env;
my @vars = `sh -c ". $basepath/bin/init.sh ; /usr/bin/env"`;
%ENV = %temp_ENV; # restore previous ENV
@@ -3335,6 +3336,9 @@
delete $script_env{_}; # artifact of how we fetch init.sh
results
}
+ # preserve TERM
+ $script_env{"TERM"} = $ENV{"TERM"};
+
# set variables according to the info file
$expand = $self->{_expand};
foreach $varname (@setable_env_vars) {
Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.933
retrieving revision 1.934
diff -u -d -r1.933 -r1.934
--- ChangeLog 16 Apr 2005 16:14:57 -0000 1.933
+++ ChangeLog 16 Apr 2005 22:09:15 -0000 1.934
@@ -1,3 +1,7 @@
+2005-04-16 Chris Zubrzycki <[EMAIL PROTECTED]>
+
+ * PkgVersion.pm: Allow passing of TERM to build env (colorgcc)
+
2005-04-16 Daniel Macks <[EMAIL PROTECTED]>
* PkgVersion.pm, Services.pm: Improved error when no gcc_select present.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits