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

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

Ritratto di mfactor

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 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Melanie Blower (Intel)

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?  

Accedere per lasciare un commento.