2019-08-20 22:03:15 +00:00
|
|
|
#!/bin/bash
|
2018-12-24 16:03:27 +00:00
|
|
|
|
2023-11-01 03:32:09 +00:00
|
|
|
# Nimbus
|
|
|
|
# Copyright (c) 2018-2023 Status Research & Development GmbH
|
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
|
|
|
# http://opensource.org/licenses/MIT)
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except
|
|
|
|
# according to those terms.
|
|
|
|
|
2019-08-24 19:12:43 +00:00
|
|
|
# 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
|
2019-02-16 21:23:17 +00:00
|
|
|
|