From c910376bb635f256bfbe859e488374d7be93e8b0 Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Tue, 27 Jun 2023 11:53:48 -0400 Subject: [PATCH] Don't use .env file lines where = is at the end of the line --- docker/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build.sh b/docker/build.sh index 41745f02bb..db25439840 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -3,7 +3,7 @@ set -e build_args="" -[[ -f ".env" ]] && build_args=$(awk '$1 ~ /\=/ {print "--build-arg " $0 " "}' .env) +[[ -f ".env" ]] && build_args=$(awk '$1 ~ /\=[^$]/ {print "--build-arg " $0 " "}' .env) echo "docker-compose build args:" echo $build_args