fix: add env.sh

This commit is contained in:
jm-clius 2025-05-29 12:02:01 +01:00
parent d71b68f915
commit f81262561a
No known key found for this signature in database
GPG Key ID: 5FCD9D5211B952DA

8
env.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
# We use ${BASH_SOURCE[0]} instead of $0 to allow sourcing this file
# and we fall back to a Zsh-specific special var to also support Zsh.
REL_PATH="$(dirname ${BASH_SOURCE[0]:-${(%):-%x}})"
ABS_PATH="$(cd ${REL_PATH}; pwd)"
source ${ABS_PATH}/vendor/nimbus-build-system/scripts/env.sh