[mythtv] issues with 16491?

Andrei Tanas andrei at tanas.ca
Mon Mar 17 17:51:52 UTC 2008


Instead of this:
+    find $SOURCE -path '*/.svn' -prune -or ! -type d \
+                 -exec cp -p {}     $DESTDIR/{} \; \
+                 -exec chown $OWNER $DESTDIR/{} \; \
+                 -exec chmod +r     $DESTDIR/{} \;

Why not just use something like:
svn export --force $SOURCE $DESTDIR

?

> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-
> bounces at mythtv.org] On Behalf Of Michael T. Dean
> Sent: Monday, March 17, 2008 1:10 PM
> To: Development of mythtv
> Subject: Re: [mythtv] issues with 16491?
> 
> On 03/17/2008 12:51 AM, Nigel Pearson wrote:
> >> I'm pretty sure ksh doesn't have it
> >>
> > Bummer. Yes, you are right. On an old enough machine (Solaris in this
> > case), both ksh and sh don't set it.
> >
> > Easiest would be to remove the chown.
> > Next easiest would be fall back to EID=$USER
> 
> Either way works for me.  I'm fixing ownership of everything in the
> share dir post-install, anyway.
> 
> The id -u should work pretty reliably, but it's always nice to have a
> fallback.  I was just waiting for confirmation from the OP that the
> problem is what I expected before writing up a proper patch (to be
> posted to a ticket).
> 
> Anyway, I've attached my suggested approach.
> 
> Thanks,
> Mike



More information about the mythtv-dev mailing list