Yep, that works for me :)

On Fri, Apr 1, 2011 at 12:31 PM, Hiram Chirino <hi...@hiramchirino.com>wrote:

> Hi Jon
>
> Could you test out the snapshot I just deployed?
>
> http://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.activemq&a=apache-apollo&v=1.0-SNAPSHOT&e=tar.gz&c=unix-distro
>
> I've added some detection in the start script to see if 'exec -a' is
> supported.  Should work on linux now.
>
> Regards,
> Hiram
>
> FuseSource
> Web: http://fusesource.com/
>
>
>
>
> On Fri, Apr 1, 2011 at 10:09 AM, Jon Anstey <jans...@gmail.com> wrote:
> > 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 <hi...@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 <jans...@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: j...@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: j...@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: j...@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Reply via email to