activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Anstey <jans...@gmail.com>
Subject Re: Error running Apollo on Ubuntu
Date Fri, 01 Apr 2011 14:09:54 GMT
I wonder would it show on the symlink? I've seen sh symlinked to bash
before... on Ubuntu it points to "dash"

janstey@duffman:~$ ls -la /bin/sh
lrwxrwxrwx 1 root root 4 2011-01-05 15:34 /bin/sh -> dash

On Fri, Apr 1, 2011 at 11:34 AM, Hiram Chirino <hiram@hiramchirino.com>wrote:

> Do you know if there is way of detecting if the /bin/sh is bash or
> not? Would be nice to use the -a feature if it's available.
>
> Regards,
> Hiram
>
> FuseSource
> Web: http://fusesource.com/
>
>
>
>
> On Fri, Apr 1, 2011 at 10:02 AM, Jon Anstey <janstey@gmail.com> wrote:
> > Running latest Apollo on Ubuntu gives me this:
> >
> > janstey@duffman:/opt/fuse/apache-apollo-1.0-SNAPSHOT/bin$ ./apollo
> > exec: 151: -a: not found
> >
> > To get it working I found two solutions...
> >
> > 1. Switch script to use bash since "-a" is bash only, or
> > 2. Remove the "-a apollo" bit from the exec line
> >
> > --
> > Cheers,
> > Jon
> > ---------------
> > FuseSource
> > Email: jon@fusesource.com
> > Web: fusesource.com
> > Twitter: jon_anstey
> > Blog: http://janstey.blogspot.com
> > Author of Camel in Action: http://manning.com/ibsen
> >
>



-- 
Cheers,
Jon
---------------
FuseSource
Email: jon@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message