aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-11 23:46:19 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-11 23:46:19 -0500
commitc1ef62804f80407b611115fae3771912cde4a241 (patch)
tree77640769c98f97383af0d32c428b650f73760b92
parent4f7009ebd7a5d849107687e4d990f927f23c11b7 (diff)
made make shell better
-rwxr-xr-xmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/make b/make
index 3c332bd..52d7e71 100755
--- a/make
+++ b/make
@@ -1,9 +1,13 @@
#!/bin/sh
-mkdir imgs 2>/dev/null
+create(){
+mkdir imgs
cd imgs
python3 ../data.py img || python ../data.py img || echo "You must install python3"
cd ..
cd document
pdftex report.tex || echo "You must install \`pdftex\` (MacTeX, TeXLive, MikTeX, etc)"
cd ..
+}
+
+create 2>/dev/null