Update of /cvsroot/fink/fink
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv15529

Modified Files:
        ChangeLog bootstrap 
Log Message:
10.4.9 will mess things up for us... yay sudo  :P

Index: bootstrap
===================================================================
RCS file: /cvsroot/fink/fink/bootstrap,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- bootstrap   11 Jan 2007 03:17:45 -0000      1.9
+++ bootstrap   22 Jan 2007 02:35:09 -0000      1.10
@@ -126,7 +126,7 @@
                $cmd .= " '".join("' '", @ARGV)."'";
        }
        if ($answer eq "sudo") {
-               $cmd = "/usr/bin/sudo $cmd";
+               $cmd = "/usr/bin/sudo /usr/bin/env PERL5LIB='$ENV{'PERL5LIB'}' 
$cmd";
        } elsif ($answer eq "su") {
                $cmd = "$cmd | /usr/bin/su";
        } else {

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/ChangeLog,v
retrieving revision 1.453
retrieving revision 1.454
diff -u -d -r1.453 -r1.454
--- ChangeLog   8 Jan 2007 18:06:35 -0000       1.453
+++ ChangeLog   22 Jan 2007 02:35:09 -0000      1.454
@@ -1,3 +1,7 @@
+2007-01-21  Benjamin Reed  <[EMAIL PROTECTED]>
+
+       * bootstrap: use env to set PERL5LIB since sudo strips it
+
 2006-12-28  Daniel Macks  <[EMAIL PROTECTED]>
 
        * fink-virtual-pkgs.in: Do not overwrite apt's data transfer


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to