mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 03:11:56 +00:00
Fix magic starter macOS compatibility
This commit is contained in:
parent
fc5ed3f06f
commit
cd1641687e
@ -1,7 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
TAO_PATH="${TAO_PATH:-$(dirname $(readlink -f $0))/..}"
|
[ "$(uname)" == "Darwin" ] && readlink_cmd="greadlink" || readlink_cmd="readlink"
|
||||||
|
SCRIPT_DIR="$(dirname $($readlink_cmd -f $0))"
|
||||||
|
|
||||||
|
TAO_PATH="${TAO_PATH:-$SCRIPT_DIR/..}"
|
||||||
BACKEND_REPO="${BACKEND_REPO:-tutorial-framework-wip}"
|
BACKEND_REPO="${BACKEND_REPO:-tutorial-framework-wip}"
|
||||||
FRONTEND_REPO="${FRONTEND_REPO:-tutorial-framework-ng}"
|
FRONTEND_REPO="${FRONTEND_REPO:-tutorial-framework-ng}"
|
||||||
BACKEND_PATH="${TAO_PATH}/${BACKEND_REPO}"
|
BACKEND_PATH="${TAO_PATH}/${BACKEND_REPO}"
|
||||||
|
Loading…
Reference in New Issue
Block a user