added extra condition to if statement, so that old offerte repos will also use the new naming convention for building pdfs

This commit is contained in:
Deborah 2016-10-14 20:32:13 +02:00
parent 94f850483c
commit d9bd605179

View File

@ -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"