[mythtv] issues with 16491?

Matt S. skd5aner at gmail.com
Sun Mar 16 23:02:29 UTC 2008


On Sat, Mar 15, 2008 at 11:10 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 03/15/2008 06:52 PM, Matt S. wrote:
> > Did a make install on a fresh copy of svn today and got several lines like this:
> >
> ...
> > sh ./cpsvndir "classic" "../../../../local/share/mythtv/themes/"
> > chown: missing operand after
> > `../../../../local/share/mythtv/themes//classic/mainmenu.xml'
> > Try `chown --help' for more information.
>
> Looks like you're not using bash (ksh or something?) and you have no
> EUID.  Please try the attached patch.  Note that you'll need the same in
> the cpsvndir in myththemes.
>
> Mike
>
> Index: themes/cpsvndir
> ===================================================================
> --- themes/cpsvndir     (revision 16586)
> +++ themes/cpsvndir     (working copy)
> @@ -4,6 +4,9 @@
>
>  DESTDIR=$2
>  SOURCE=$1
> +if [ -z "$EUID" -a -x /usr/bin/id ]; then
> +    EUID=`id -u`
> +fi
>
>  mkdir -p $DESTDIR/$SOURCE || exit 1
>


Mike - I'll try to test this patch out at the end of the week as I'll
be travelling for business this week.  However, I'm using whatever
shell ubuntu 7.10 uses by default.  Here's what I get when looking at
the SHELL environment variable.

echo $SHELL
/bin/bash

Not sure what an EUID is, but this is what comes back when I run this as root:

echo $EUID
0

Let me know if there's any more info I can provide.

Thanks!
Matt S.


More information about the mythtv-dev mailing list