changed report and offerte pdf output name in the correct place
This commit is contained in:
parent
a45d1d2eee
commit
ea02e12d43
@ -97,7 +97,12 @@ build() {
|
|||||||
fi
|
fi
|
||||||
pushd source &>/dev/null
|
pushd source &>/dev/null
|
||||||
backwards_compatible
|
backwards_compatible
|
||||||
targetpdf=target/$TARGET-latest.pdf
|
targetpdf="target/$TARGET-latest.pdf"
|
||||||
|
if [[ $TARGET == "quote" ]]; then
|
||||||
|
targetpdf="target/quote_${REPO/off-/}.pdf"
|
||||||
|
elif [[ $TARGET == "report" ]]; then
|
||||||
|
targetpdf="target/report_${REPO/pen-/}.pdf"
|
||||||
|
fi
|
||||||
$DOCBUILDER -c -i $TARGET.xml -o ../$targetpdf -x ../xslt/generate_$TARGET.xsl $PARMS
|
$DOCBUILDER -c -i $TARGET.xml -o ../$targetpdf -x ../xslt/generate_$TARGET.xsl $PARMS
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "[-] Sorry, failed to parse $TARGET. Use \`builder $TARGET $REPO $NAMESPACE $BRANCH -v\` for more information."
|
echo "[-] Sorry, failed to parse $TARGET. Use \`builder $TARGET $REPO $NAMESPACE $BRANCH -v\` for more information."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user