Debugging shell scripts

Ron Smits ron at ronsmits.org
Mon Oct 16 17:42:02 UTC 2006


manually start bash and then do the install?
or run it as sh -x <whatever you are doing> and see loads and loads of
output to spit through. you might read up on tee first :)

Ron

On Mon, 2006-10-16 at 20:34 +0300, Janne Jokitalo wrote:
> Scott Kitterman wrote:
> > The default /bin/sh for Edgy is Dash.  If the Bugzilla post-install script 
> > uses non-POSIX Bashisms that might explain what you are seeing.
> 
> Hi Scott,
> 
> thanks for answering! I actually thought of that a bit after my sending the 
> post, but then, when I'm still in the shell session I used:
> 
> root at jjod600n:/var/lib/dpkg/info# echo $SHELL
> /bin/bash
> 
> ...and then remembered that wasn't bash still the default login shell in 
> Edgy, too? The whole mess would make sense, if I hadn't tried them in a 
> login shell, don't you agree? Of course, I might be way off here, so please 
> feel free to bash me. (yes, pun intended) :)
> 
> 
> -- 
> Jaska
> 





More information about the ubuntu-users mailing list