mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 02:24:23 -05:00
* 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
17 lines
216 B
Bash
Executable File
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"
|
|
|
|
"$@"
|