lib.sh 326 B

12345678910111213
  1. set -o errexit
  2. set -o nounset
  3. set -o pipefail
  4. # Unset CDPATH so that path interpolation can work correctly
  5. # https://github.com/kratosrnetes/kratosrnetes/issues/52255
  6. unset CDPATH
  7. # The root of the build/dist directory
  8. if [ -z "$KRATOS_ROOT" ]
  9. then
  10. KRATOS_ROOT="$(cd "$(dirname "${BASH_SOURCE}")/../.." && pwd -P)"
  11. if