Skip to content

Instantly share code, notes, and snippets.

View f-r-i-t-z's full-sized avatar

Fred f-r-i-t-z

View GitHub Profile
@f-r-i-t-z
f-r-i-t-z / gitbook_to_pdf.sh
Created June 29, 2018 23:14 — forked from clemsos/gitbook_to_pdf.sh
Build Gitbook PDF using Pandoc
# #!/bin/bash
GITBOOK_REP=$1
SUMMARY_FILE="SUMMARY.md"
echo $OUTPUT_FILE
if [ -d "$GITBOOK_REP" ]; then
echo "Entering directory '$GITBOOK_REP'..."
cd $GITBOOK_REP