mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 15:47:17 +00:00
12 lines
314 B
Bash
Executable File
12 lines
314 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
shopt -s expand_aliases
|
|
|
|
if [ "$(uname)" == "Darwin" ]; then
|
|
alias readlink="greadlink"
|
|
alias sed="gsed"
|
|
fi
|
|
SCRIPT_DIR="$(dirname $(readlink -f $0))"
|
|
|
|
sed -i "s/SHA=\w\+/SHA=$(sha256sum hack/bootstrap_tfw_dev.sh | cut -d ' ' -f1)/g" "${SCRIPT_DIR}/oneline_install.sh"
|