Check for unboud variable in entrypoint.sh

This commit is contained in:
Dale Davies
2022-02-14 22:25:00 +00:00
parent b51f2324da
commit 2642a4d42a

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -Eeuo pipefail set -Eeuo pipefail
if [ ! $DEVELOPMENT ]; then if [ -z "${DEVELOPMENT-}" ]; then
echo >&2 "-------------------------------------------------------------" echo >&2 "-------------------------------------------------------------"
echo >&2 "- Repopulating web root with application files." echo >&2 "- Repopulating web root with application files."