[mythtv-users] Removing commercials
Kevin Hayes
wondecla at tpg.com.au
Sat Nov 3 23:02:57 UTC 2007
On Sat, 03 Nov 2007 10:11:20 -0400
Harry Devine <lifter89 at comcast.net> wrote:
> Brian Phillips wrote:
> > Harry Devine wrote:
> >
> >> I checked my mythbackend.log, and got the following:
> >> "sh: /usr/local/bin/removecommercials: /bin/sh^M: bad
> >> interpreter: No such file or directory"
> >>
> >> The file is there, and I double checked with Mythweb and it doesn't
> >> appear to be a typo or anything like that. I checked via SSH and the
> >> file is there and the permissions are 755, so I don't think that's
> >> it.. Any ideas?
> >>
> >
> > Have you opened removecommercials in vim yet? Make sure the first line
> > doesn't have a ^M tacked onto it from uploading from windows machines.
> >
> > Should look like this:
> > #!/bin/sh
> >
> > And nothing more.
> >
> > Brian
> >
> >
> >> Thanks,
> >> Harry
> I just checked that and it looks just like you said. I didn't see any
> ^M in there anywhere. I can send it along if you want to look at it.
>
> Thanks,
> Harry
does /bin/sh exist ?
You should have:
~$ ls -la /bin/sh
lrwxrwxrwx 1 root root 4 2007-10-21 13:19 /bin/sh -> bash*
--
Kevin Hayes
More information about the mythtv-users
mailing list