Re: Quick start guide on Ubuntu 14.04
Sylvain Joyeux <[email protected]> Thu, 9 Oct 2014 14:30:07 -0300
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <CAFENT7KoaM4geiz1G1WsteJPff-ekpSW4Zq-EdDGmC66CdMvCw@mail.gmail.com> |
> 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. 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. Sylvain -- Orocos-Dev mailing list [email protected] http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev