mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 01:31:32 +00:00
Update magic starter with auto pathname detection
This commit is contained in:
parent
cbf2caa4c3
commit
404c88a419
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
[ -z $TAO_PATH ] && echo 'You need to set the "TAO_PATH" envvar to the directory where the TFW repos are cloned!' && exit 1
|
TAO_PATH="${TAO_PATH:-$(dirname $(readlink -f $0))/..}"
|
||||||
|
|
||||||
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