[mythtv] Ticket #7010: ./cpsvndir causes errors with checkinstall for themes

Peter Stokes mythtv at dadeos.co.uk
Tue Sep 8 21:19:10 UTC 2009

On 8 Sep 2009, at 17:19, David Engel wrote:

> On Tue, Sep 08, 2009 at 12:07:57AM -0500, David Engel wrote:
>> Actually, I think I might have a better way, but I'm not going to  
>> work
>> on it anymore until tomorrow.
> Would some people please try the attached version of cpsvndir.

Hi David,

I am sorry that my changes haven't gone a smoothly as I had hoped :-(

A quick note on the subtleties of the implementation of building the  
directory structure during a first pass and then copying the files  
using the "cp -R" during a second pass. The first pass only handles  
directories (by virtue of the "find -type d"), so that's fairly  
straight forward. The second pass processes all other files (by virtue  
of the "find ! -type d"), "cp -R" is then used in recursive mode, as  
none the filenames will correspond to directories the "recursivness"  
is not what is desirable. However, in recursive mode "cp" maintains  
symbolic links.

Whilst symbolic links are not currently being used in the current  
usage of cpsvndir, I personally use cpsvndir to "install" mythweb into  
the apache hosting directory and mythweb does contain a resource  
symbolic link ("mythplugins/mythweb/skins/grey/img/music").

Another concern I have thought of is that the "cpsimple" and  
"cpsvndir" scripts probably behave quiet differently now. But, as I  
have already hinted, I could not fathom the reason why the "cpsimple"  
script is required as the "cpsvndir" script appeared to work for me on  
Windows (but then again my original proposed "cpsvndir" script also  
"worked on my machine" ;-).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20090908/8e5ad14b/attachment.htm>

More information about the mythtv-dev mailing list