X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=gendocs.sh;h=a0f6e5c6fb3bac1accd26972db07099025c90d31;hb=6c624071b9f1896a02c3e9c7cd31cfd81e059ab6;hp=9d9b74a3c334e18baec51930258ea4f9c725f06e;hpb=db3dea9a59746b26b966b022d046ec8e44c37539;p=apps%2Fagl-service-can-low-level.git diff --git a/gendocs.sh b/gendocs.sh index 9d9b74a3..a0f6e5c6 100755 --- a/gendocs.sh +++ b/gendocs.sh @@ -57,7 +57,9 @@ if [ "$DO_ACTION" = "pdf" -o "$DO_ACTION" = "serve" ]; then [ "$?" = "1" ] && { echo "You must install calibre first, using: 'sudo apt install calibre' or refer to https://calibre-ebook.com/download"; exit 1; } if [ "$DO_ACTION" = "pdf" ]; then - $DRY $GITBOOK pdf $ROOTDIR $OUT_DIR/LowLevelCanBinder_Guide.pdf $DEBUG_FLAG + OUTFILE=$OUT_DIR/LowLevelCanBinding_Guide.pdf + $DRY $GITBOOK pdf $ROOTDIR $OUTFILE $DEBUG_FLAG + [ "$?" = "0" ] && echo "PDF has been successfully generated in $OUTFILE" else $DRY $GITBOOK serve $DEBUG_FLAG fi