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 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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?  

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen