dlr eo: allow setting DIR_OUTPUT directly

This commit is contained in:
Starbeamrainbowlabs 2023-03-01 16:54:15 +00:00
parent 4fd9feba4f
commit b5f23e76d1
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -60,7 +60,7 @@ if [[ -n "${POSTFIX}" ]]; then
CODE="${CODE}_${POSTFIX}";
fi
DIR_OUTPUT="output/$(date -u --rfc-3339=date)_${CODE}";
DIR_OUTPUT="${DIR_OUTPUT:-output/$(date -u --rfc-3339=date)_${CODE}}";
mkdir -p "${DIR_OUTPUT}";