Fixes typo

This commit is contained in:
Trenton Holmes 2023-01-07 08:16:48 -08:00 committed by Trenton H
parent fbebd8d7c0
commit 3daee46c3d

View File

@ -13,7 +13,7 @@ for line in $(printenv)
do do
# Extract the name of the environment variable # Extract the name of the environment variable
env_name=${line%%=*} 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 if [[ ${env_name} == PAPERLESS_*_FILE ]]; then
# Extract the value of the environment # Extract the value of the environment
env_value=${line#*=} env_value=${line#*=}
@ -32,7 +32,7 @@ do
export "${non_file_env_name}"="${val}" export "${non_file_env_name}"="${val}"
else 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
fi fi
done done