From 3daee46c3d1df2880e0f1a2447e86c9a1dc0d166 Mon Sep 17 00:00:00 2001 From: Trenton Holmes <797416+stumpylog@users.noreply.github.com> Date: Sat, 7 Jan 2023 08:16:48 -0800 Subject: [PATCH] Fixes typo --- docker/env-from-file.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/env-from-file.sh b/docker/env-from-file.sh index 3ef44d5af..37535c220 100644 --- a/docker/env-from-file.sh +++ b/docker/env-from-file.sh @@ -13,7 +13,7 @@ for line in $(printenv) do # Extract the name of the environment variable env_name=${line%%=*} - # Check if it ends in "_FILE" + # Check if it starts with "PAPERLESS_" and ends in "_FILE" if [[ ${env_name} == PAPERLESS_*_FILE ]]; then # Extract the value of the environment env_value=${line#*=} @@ -32,7 +32,7 @@ do export "${non_file_env_name}"="${val}" else - echo "File ${env_value} referenced ${env_name} by doesn't exist" + echo "File ${env_value} referenced by ${env_name} doesn't exist" fi fi done