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

David Engel david at istwok.net
Thu Sep 10 22:47:49 UTC 2009


On Wed, Sep 09, 2009 at 06:53:07PM +0100, Peter Stokes wrote:
> On 9 Sep 2009, at 03:10, David Engel wrote:
> The problem appears to be that "if [ -d "$file" ];" returns true for
> symbolic links that refer to directories. This results in the
> cpsvndir script creating a directory for the symbolic link, which is
> incorrect.

That's taken care of now.

> I used this difference to allow me to install the contents of the
> mythweb directory into a directory with a different name (i.e. "sh
> cpsvndir mythweb/ destination"). The "basename" implementation only
> allows for creating a destination directory that contains the source
> directory.

I intentionally patterned the basename behavior to mimic cp since
that's what qmake originally used.  If you want the rsync behavior for
trailing slashes, either use rsync or add '.' after the slash.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list