Skip to content

Commit

Permalink
TSMP2-frontend-proposal: Handle relative path for model environment (#44
Browse files Browse the repository at this point in the history
)

* frontend: use `realpath` in setting `tsmp2_env`

turns relative path inputs into absolute paths
  • Loading branch information
jjokella authored Dec 3, 2024
1 parent 15ff6eb commit 79869ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tsmp2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ message "source environment"
if [ -z "${tsmp2_env}" ]; then
tsmp2_env="${cmake_tsmp2_dir}/env/jsc.2023_Intel.sh"
else
tsmp2_env="${tsmp2_env}"
tsmp2_env="$(realpath ${tsmp2_env})"
fi # tsmp2_env
source $tsmp2_env

Expand Down

0 comments on commit 79869ff

Please sign in to comment.