aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-26 00:24:06 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-26 00:24:31 -0500
commite5007a498791449f6c12eccad4c47069cd73cc1e (patch)
tree084bab54b094f6a317196f216215722732bc574d /make
parent84307daf5f9ac1cbc763794bbd5f75bb3d1895f3 (diff)
simplified make
Diffstat (limited to 'make')
-rwxr-xr-xmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/make b/make
index 8dca671..4ca0662 100755
--- a/make
+++ b/make
@@ -1,7 +1,5 @@
#!/bin/sh
-export orig="$(pwd)"
-export dir="$(dirname $0)"
create(){
mkdir imgs
cd imgs
@@ -38,6 +36,7 @@ cd ..
rm format.tex pageno.tex document/pageno.tex pageno2.tex document/pageno2.tex document.log
}
-cd $dir
+export orig="$(pwd)"
+cd $(dirname $0)
create 2>/dev/null
cd $orig