diff --git a/scripts/create-book.sh b/scripts/create-book.sh index 5faea51e..3c2d7846 100755 --- a/scripts/create-book.sh +++ b/scripts/create-book.sh @@ -22,4 +22,9 @@ sed -i 's|../paging-introduction/||g' book/book.md # go to work dir and create epub cd book/ -pandoc book.md -o book.epub --metadata cover-image="../cover.png" --metadata title="Writing an OS in Rust" --metadata author="Philipp Oppermann" --metadata description="This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding Github repository." +pandoc book.md -o "Writing an OS in Rust.epub" --metadata cover-image="../cover.png" --metadata title="Writing an OS in Rust" --metadata author="Philipp Oppermann" --metadata description="This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding Github repository." + +#clean up +cd .. +mv "book/Writing an OS in Rust.epub" . +rm -rf book/