Re: Quick start guide on Ubuntu 14.04

Charles Lesire-Cabaniols <[email protected]> Thu, 9 Oct 2014 20:03:20 +0200
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <CAEc6OSz0h7fF7qT4M_kOzkcypm3PhoM-eD=xD8Do=ematoJ4wQ@mail.gmail.com>
2014-10-09 19:30 GMT+02:00 Sylvain Joyeux <[email protected]>:

> > bootstrap-2.6.sh: 1:
> >
> /home/lesire/work/mauve/orocos-toolchain/.gems/gems/autoproj-1.10.2/shell/autoproj_bash:
> > function: not found
> > bootstrap-2.6.sh: 2: local: not in a function
> My guess is that bootstrap-2.6.sh uses "#! /bin/sh" which is now dash
> on Debian (and probably ubuntu). dash does not know the "function ..."
> syntax.
>

you're right


>
> The issue is that the env.sh sources the shell helpers for the local
> shell as specified by $SHELL (since we want the user to be able to
> load it). If one then sources it from a different shell, boom ! I
> guess that a good fix would be to make env.sh itself test for the
> "local" shell type and load the right helper file.
>

and what? do you plan to make the change? soon?


>
> Sylvain
>

-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev