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

Re: [coldsync-hackers] ColdSync::DumpConfig



Andrew Arensburger wrote:

>>+       $path =~ s|^()[^/].*/|$ENV{'PWD'}/|;
> 
> 	What's the "()" for?

It's there to provide a mistake to correct. :-)

My first patch was correct, but that updated one wasn't (the output 
"looked" good, but was missing part of the path). This is good and tested:

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

-- 
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.