2021-06-22 06:56:21 +00:00
|
|
|
#!/bin/sh
|
2020-01-31 21:20:30 +00:00
|
|
|
|
2020-02-01 14:59:29 +00:00
|
|
|
FINAL_PDF=security-engineering-3rd-edition.pdf
|
2020-02-01 15:08:35 +00:00
|
|
|
|
2020-02-01 14:46:35 +00:00
|
|
|
function assert_installed() {
|
|
|
|
for var in "$@"; do
|
|
|
|
if ! which $var &> /dev/null; then
|
|
|
|
echo "Install $var!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2023-04-12 14:36:53 +00:00
|
|
|
assert_installed pystitcher
|
2020-01-31 21:20:30 +00:00
|
|
|
|
2021-05-28 20:44:21 +00:00
|
|
|
pystitcher book.md "$FINAL_PDF"
|