[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] ColdSync::DumpConfig




I saw that a variation on my patch has gotten into CVS, but it is 
incomplete.

This still misses the case where you call "conduits/plucker-fetch 
-config". Here's another fix in the same style as what went in CVS:

--- ColdSync.pm 16 Oct 2002 18:39:20 -0000      1.19
+++ ColdSync.pm 16 Oct 2002 21:45:33 -0000
@@ -174,7 +174,7 @@ sub DumpConfig
         # Check $path for leading ./

         $path =~ s|^(\.)/|$ENV{'PWD'}/|;
-
+       $path =~ s|^()[^/].*/|$ENV{'PWD'}/|;

         print "\tpath: \"$path\";\n";
                         # Print path to the conduit

-- 
Pierre Phaneuf
http://advogato.org/person/pphaneuf/


-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.