[ejabberd] pbs with ejabberd svn 957

Magnus Henoch mange at freemail.hu
Thu Oct 18 13:41:47 MSD 2007


Badlop <badlop at gmail.com> writes:

> Yes, it's preferable to make the script bash-independent if possible.
> Do you know what bashisms are there in that script?
>
> And any possible alternative implementation for those features? Or
> links to resources where I can start digging in that topic?

To start with, instead of

function foo
{
  ...
}

write:

foo () {
  ...
}

Then there seems to be something wrong with the base="`dirname $(which
"$0")`/.." line… it seems $0 is not properly set, or something.

-- 
Magnus
JID: legoscia at jabber.cd.chalmers.se



More information about the ejabberd mailing list