From d5b23601da662c17a4c895df20da63141bd870a0 Mon Sep 17 00:00:00 2001 From: Luke Bakken Date: Wed, 18 Dec 2024 11:22:07 -0800 Subject: [PATCH] fixup --- apply-templates.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apply-templates.sh b/apply-templates.sh index 96e80dc6..20a523bf 100755 --- a/apply-templates.sh +++ b/apply-templates.sh @@ -53,11 +53,11 @@ for version; do gawk -f "$jqt" "Dockerfile-$variant.template" } > "$version/$variant/Dockerfile" - if (($(find "patch/$variant" -type f -name '*.patch' | wc -l) > 0)) - then - mkdir -p "$version/$variant/patch" - cp -af "patch/$variant/"* "$version/$variant/patch" - fi + if (($(find "patch/$variant" -type f -name '*.patch' | wc -l) > 0)) + then + mkdir -p "$version/$variant/patch" + cp -af "patch/$variant/"* "$version/$variant/patch" + fi cp -f docker-entrypoint.sh conf.d/*.conf "$version/$variant/"