[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Environment variable in .prj file
From: |
Simon Wright |
Subject: |
Re: Environment variable in .prj file |
Date: |
Fri, 24 Jul 2020 12:53:49 +0100 |
On 24 Jul 2020, at 09:23, Simon Wright <simon.j.wright@mac.com> wrote:
>
> $HOME is /Users/simon. In /Users/simon/coldframe/examples, I have a Wisi
> project file Simple_Buttons_Scripting.prj:
>
> gpr_file=Simple_Buttons_Scripting.gpr
> gpr_project_path=..
> gpr_project_path=$HOME/scripted_testing
> gpr_project_path=$HOME/tcladashell
> $BUILD=Debug
>
> I'm 99.9% sure it used to work, but now the resulting project file search
> path is
>
> /Users/simon/coldframe
> /Users/simon/coldframe/examples/$HOME/scripted_testing
> /Users/simon/coldframe/examples/$HOME/tcladashell
>
> whereas I was expecting/hoping it'd be
>
> /Users/simon/coldframe
> /Users/simon/scripted_testing
> /Users/simon/tcladashell
[...]
> so something wrong with environment vars?
Problem goes away if I edit the .prj file to
gpr_file=Simple_Buttons_Scripting.gpr
$HOME=/Users/simon <<<<<<<
gpr_project_path=..
gpr_project_path=$HOME/scripted_testing
gpr_project_path=$HOME/tcladashell
$BUILD=Debug