source vs executing from dash compilevars.sh to set environment variables

source vs executing from dash compilevars.sh to set environment variables

Hi all, 

The installation procedure recommends that, to se the environment variables, the scripts compilevars.sh must be sourced if the shell is dash/bash. I'm trying to change the paths manually for an external program (Kate), so I can't source compilevars.sh. I need to execute the script using ./. Is this possible? How should it be done?

Cheers

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I don't know anything about Kate, but invoking the compilervars.sh via execute won't get the desired result, because it's in a different process context. Can  you set up the environment variables (i.e. using "source") before you start Kate running?  

Leave a Comment

Please sign in to add a comment. Not a member? Join today