Commit 7078f9dd authored by Daniel Brown's avatar Daniel Brown

Adding in powershell script environment variables otherwise the conda...

Adding in powershell script environment variables otherwise the conda powershell prompt doesn't work
parent ded7fa90
......@@ -33,11 +33,18 @@ mkdir %PREFIX%\etc\conda\deactivate.d
type NUL > %PREFIX%\etc\conda\activate.d\finesse_vars.bat
type NUL > %PREFIX%\etc\conda\deactivate.d\finesse_vars.bat
type NUL > %PREFIX%\etc\conda\activate.d\finesse_vars.ps1
type NUL > %PREFIX%\etc\conda\deactivate.d\finesse_vars.ps1
echo @ECHO OFF >> %PREFIX%\etc\conda\activate.d\finesse_vars.bat
echo SET KATINI=%%CONDA_PREFIX%%\Library\bin\kat.ini >> %PREFIX%\etc\conda\activate.d\finesse_vars.bat
echo SET FINESSE_DIR=%%CONDA_PREFIX%%\Library\bin >> %PREFIX%\etc\conda\activate.d\finesse_vars.bat
echo $env:KATINI="$env:CONDA_PREFIX\Library\bin\kat.ini" >> %PREFIX%\etc\conda\activate.d\finesse_vars.ps1
echo $env:FINESSE_DIR="$env:CONDA_PREFIX\Library\bin"" >> %PREFIX%\etc\conda\activate.d\finesse_vars.ps1
echo @ECHO OFF >> %PREFIX%\etc\conda\deactivate.d\finesse_vars.bat
echo SET KATINI= >> %PREFIX%\etc\conda\deactivate.d\finesse_vars.bat
echo SET FINESSE_DIR= >> %PREFIX%\etc\conda\deactivate.d\finesse_vars.bat
\ No newline at end of file
echo SET FINESSE_DIR= >> %PREFIX%\etc\conda\deactivate.d\finesse_vars.bat
echo $env:KATINI= >> %PREFIX%\etc\conda\deactivate.d\finesse_vars.ps1
echo $env:FINESSE_DIR= >> %PREFIX%\etc\conda\deactivate.d\finesse_vars.ps1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment