From e5007a498791449f6c12eccad4c47069cd73cc1e Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sun, 26 Jan 2020 00:24:06 -0500 Subject: simplified make --- make | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'make') 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 -- cgit