[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] ColdSync::DumpConfig
- To: ColdSync Hackers <coldsync-hackers at lusars dot net>
- Subject: [coldsync-hackers] ColdSync::DumpConfig
- From: Pierre Phaneuf <pp at ludusdesign dot com>
- Date: Wed, 16 Oct 2002 17:51:51 -0400
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1
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.