Files
chia-blockchain/activated.sh
T
Earle LoweandGitHub e07d1eb5de Use #!/usr/bin/env bash (#18762)
* Use #!/usr/bin/env bash

* Update setup-poetry.sh

* Use #!/usr/bin/env bash for shebang

* fix up typo for leading space

* For consistency fix up a few other scripts
2024-11-04 15:22:52 -07:00

17 lines
216 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
SCRIPT_DIRECTORY=$(
cd -- "$(dirname -- "$0")"
pwd
)
ENV_DIRECTORY="$1"
shift
# shellcheck disable=SC1090,SC1091
. "${SCRIPT_DIRECTORY}/${ENV_DIRECTORY}/bin/activate"
"$@"