mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-15 01:37:17 +00:00
Add macOS grep aliases to hack scripts
This commit is contained in:
parent
4a1073e524
commit
97c593640d
@ -3,7 +3,7 @@ set -eu
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
[ "$(uname)" == "Darwin" ] && alias sed="gsed" || :
|
[ "$(uname)" == "Darwin" ] && alias sed="gsed" && alias grep="ggrep" || :
|
||||||
|
|
||||||
HERE="$(pwd)"
|
HERE="$(pwd)"
|
||||||
CHALLENGE=${CHALLENGE:-test-tutorial-framework}
|
CHALLENGE=${CHALLENGE:-test-tutorial-framework}
|
||||||
|
@ -3,7 +3,7 @@ set -eu
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
[ "$(uname)" == "Darwin" ] && alias readlink="greadlink" || :
|
[ "$(uname)" == "Darwin" ] && alias readlink="greadlink" && alias grep="ggrep" || :
|
||||||
|
|
||||||
SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
TFW_PATH="${TFW_PATH:-$SCRIPT_DIR/../..}"
|
TFW_PATH="${TFW_PATH:-$SCRIPT_DIR/../..}"
|
||||||
|
Loading…
Reference in New Issue
Block a user