mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 16:31:21 +00:00
Fix magic starter macOS compatibility
This commit is contained in:
parent
404c88a419
commit
0f8a1acc92
@ -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