aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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