From e054273b0c067a65bf1b54ecf6beb85418494f6c Mon Sep 17 00:00:00 2001 From: August Kilponen Date: Tue, 8 Oct 2024 12:02:45 +0300 Subject: [PATCH] =?UTF-8?q?Korjattu=20dbt:n=20k=C3=A4ynnistymist=C3=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbt-container/run.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dbt-container/run.sh b/dbt-container/run.sh index ae29cbd..11ec097 100755 --- a/dbt-container/run.sh +++ b/dbt-container/run.sh @@ -12,7 +12,12 @@ ls -Al /root/dbt cd dbt . venv/bin/activate - -dbt build --target=prod "$1" +if [[ -z "$1" ]]; then + echo "Running DBT without any extra paramaters" + dbt build --target=prod +else + echo "Running DBT with extra paramaters: $1" + dbt build --target=prod "$1" +fi exit 0