Re: Debian Testing VMWare-Tools Bad Variable Name
Chris Bannister, 25.07.2013:
> On Mon, Jul 22, 2013 at 09:31:34AM -0500, Selim T. Erdogan wrote:
> > This is a long shot but for some reason I was reminded of
> > having trouble with a non-debian script a few months ago, that
> > also asked to be run by /bin/sh (as your attachment did).
> >
> > At the time, on my wheezy system (while it was still in testing),
> > /bin/sh pointed to dash, not bash, so the script didn't work
> > right. I fixed it with "dpkg-reconfigure dash".
> >
> > So you could check if the /bin/sh on the two systems points to
> > the same shell with the same version.
>
> Wouldn't it be better to change the line in the script to point to bash?
Yeah, maybe. I don't really know enough about the differences between
bash and dash. I can't remember if I considered changing the one line,
but I had the impression that bash was the default for a long time, and
that dash was relatively new, so I must have thought going back to bash
would be safe. Also, there were a number of scripts and more than one
had problems.
Selim
Reply to: