diff options
| author | Sam Tygier <samtygier@yahoo.co.uk> | 2019-01-06 22:37:44 +0000 |
|---|---|---|
| committer | XECDesign <XECDesign@users.noreply.github.com> | 2019-01-07 12:49:45 +1000 |
| commit | d7ef46b06a4b8c6d54751b6301f7b6f4ac9bb2ea (patch) | |
| tree | 9b3a8c63d3c436c2faf4a785d0ec838e5f5608cc /build.sh | |
| parent | d7ca8e8f143293c9803e48501675832af0a3108e (diff) | |
Allow custom stages
STAGE_LIST can be specified in the config file to run additional build stages.
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -195,7 +195,10 @@ dependencies_check "${BASE_DIR}/depends" mkdir -p "${WORK_DIR}" log "Begin ${BASE_DIR}" -for STAGE_DIR in "${BASE_DIR}/stage"*; do +STAGE_LIST=${STAGE_LIST:-${BASE_DIR}/stage*} + +for STAGE_DIR_ in $STAGE_LIST; do + STAGE_DIR=`realpath "${STAGE_DIR_}"` run_stage done |
