Name the variables more precisely.
This commit is contained in:
10
convert.sh
10
convert.sh
@@ -9,9 +9,9 @@ date
|
|||||||
|
|
||||||
md="ebook.md"
|
md="ebook.md"
|
||||||
ebook="VoluntarySovereignty.pdf"
|
ebook="VoluntarySovereignty.pdf"
|
||||||
booklet1="VoluntarySovereignty-book.pdf"
|
book="VoluntarySovereignty-book.pdf"
|
||||||
booklet2="VoluntarySovereignty-booklet-default.pdf"
|
booklet="VoluntarySovereignty-booklet-default.pdf"
|
||||||
booklet3="VoluntarySovereignty-booklet-rotated.pdf"
|
rotated="VoluntarySovereignty-booklet-rotated.pdf"
|
||||||
|
|
||||||
if [[ -e $ebook ]]; then
|
if [[ -e $ebook ]]; then
|
||||||
echo -n "Old: "
|
echo -n "Old: "
|
||||||
@@ -29,10 +29,10 @@ status=$?
|
|||||||
|
|
||||||
# Use LaTeX booklet package to make a print, fold, and staple version!
|
# Use LaTeX booklet package to make a print, fold, and staple version!
|
||||||
pdfbook2 -n $ebook
|
pdfbook2 -n $ebook
|
||||||
mv $booklet1 $booklet2
|
mv -v $book $booklet
|
||||||
|
|
||||||
pdfbook2 -ns $ebook
|
pdfbook2 -ns $ebook
|
||||||
mv $booklet1 $booklet3
|
mv -v $book $rotated
|
||||||
|
|
||||||
echo "Completed with status '$status'."
|
echo "Completed with status '$status'."
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user