env.sh: print a message when using the system Nim

This commit is contained in:
Ștefan Talpalaru 2020-05-22 15:41:50 +02:00
parent 78eef09601
commit fb6a9d2f8d
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ export PATH="${NIMBLE_DIR}/bin:${PATH}"
#- we can't use native Windows paths in here, because colons can't be escaped in PATH #- we can't use native Windows paths in here, because colons can't be escaped in PATH
if [[ "$USE_SYSTEM_NIM" != "1" ]]; then if [[ "$USE_SYSTEM_NIM" != "1" ]]; then
export PATH="${NIM_PATH}:${PATH}" export PATH="${NIM_PATH}:${PATH}"
else
echo "[using system Nim: $(which nim)]"
fi fi
# used by nim-beacon-chain/tests/simulation/start.sh # used by nim-beacon-chain/tests/simulation/start.sh