Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
11 Views

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

0 Kudos
1 Reply
Highlighted
11 Views

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?  

0 Kudos