On 23/06/16 14:05, Marc-Antoine Vincent wrote:
Ok, I just validated that export works for machinekit env. I will use a script to expressively export my environment vars (which are really constants) after each boot.

That sounds a reasonable compromise.

Btw, what is "variable expansion" ? Is it the same as parameter expansion?

Sort of, these are environment _variables_ and expanding them into their contents, using $VARNAME does not work as expected

/etc/environment contains a list of 'one-liners' basically, not a script

You cannot reference previous lines in subsequent ones, so

QT_PATH=/opt/qt/bin
PROG_PATH=/src/blah/bin;$QT_PATH

in /etc/environment will not work, whereas it would in ~/.bashrc

regards


Thanks
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to