From e89353e49eb6c35a8c72071b9719abefaee65e67 Mon Sep 17 00:00:00 2001 From: Deborah Date: Fri, 14 Oct 2016 20:32:13 +0200 Subject: [PATCH] added extra condition to if statement, so that old offerte repos will also use the new naming convention for building pdfs --- chatops/bash/handler_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatops/bash/handler_build b/chatops/bash/handler_build index a1dbee7..500a00b 100644 --- a/chatops/bash/handler_build +++ b/chatops/bash/handler_build @@ -100,7 +100,7 @@ build() { fi pushd source &>/dev/null backwards_compatible - if [[ $TARGET == "quote" ]]; then + if ([[ $TARGET == "quote" ]] || [[ $TARGET == "offerte" ]]); then TARGETPDF="target/quote_${REPO/off-/}.pdf" elif [[ $TARGET == "report" ]]; then TARGETPDF="target/report_${REPO/pen-/}.pdf"