mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-16 13:15:00 +00:00
fix setting the bpmn dir in start scripts w/ burnettk
This commit is contained in:
parent
76551f5301
commit
83e9a08b90
@ -18,13 +18,13 @@ if [[ -z "${BPMN_SPEC_ABSOLUTE_DIR:-}" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
export BPMN_SPEC_ABSOLUTE_DIR
|
|
||||||
pushd "$BPMN_SPEC_ABSOLUTE_DIR"
|
pushd "$BPMN_SPEC_ABSOLUTE_DIR" >/dev/null 2>&1
|
||||||
if [[ "$(git rev-parse --abbrev-ref HEAD)" == "main" ]]; then
|
if [[ "$(git rev-parse --abbrev-ref HEAD)" == "main" ]]; then
|
||||||
>&2 echo "ERROR: please do not use the main branch of sample-process-models. use dev"
|
>&2 echo "ERROR: please do not use the main branch of sample-process-models. use dev"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
popd
|
popd >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$BPMN_SPEC_ABSOLUTE_DIR"
|
realpath "$BPMN_SPEC_ABSOLUTE_DIR"
|
||||||
|
@ -19,7 +19,6 @@ fi
|
|||||||
|
|
||||||
BPMN_SPEC_ABSOLUTE_DIR=$(./bin/find_sample_process_models)
|
BPMN_SPEC_ABSOLUTE_DIR=$(./bin/find_sample_process_models)
|
||||||
export BPMN_SPEC_ABSOLUTE_DIR
|
export BPMN_SPEC_ABSOLUTE_DIR
|
||||||
echo "$BPMN_SPEC_ABSOLUTE_DIR"
|
|
||||||
|
|
||||||
export FLASK_SESSION_SECRET_KEY=super_secret_key
|
export FLASK_SESSION_SECRET_KEY=super_secret_key
|
||||||
export APPLICATION_ROOT="/"
|
export APPLICATION_ROOT="/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user