mirror of
https://github.com/captn3m0/security-engineering-ebook.git
synced 2024-07-26 20:42:57 +00:00
17 lines
292 B
Bash
Executable File
17 lines
292 B
Bash
Executable File
#!/bin/sh
|
|
|
|
FINAL_PDF=security-engineering-3rd-edition.pdf
|
|
|
|
function assert_installed() {
|
|
for var in "$@"; do
|
|
if ! which $var &> /dev/null; then
|
|
echo "Install $var!"
|
|
exit 1
|
|
fi
|
|
done
|
|
}
|
|
|
|
assert_installed pystitcher
|
|
|
|
pystitcher book.md "$FINAL_PDF"
|