updated build to be path-agnostic
authorMatthew Owens <matthew@owens.tech>
Sun, 12 May 2024 21:07:10 +0000 (22:07 +0100)
committerMatthew Owens <matthew@owens.tech>
Sun, 12 May 2024 21:07:10 +0000 (22:07 +0100)
build

diff --git a/build b/build
index a52e0ec..a4d45f2 100755 (executable)
--- a/build
+++ b/build
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-work=~/documents/untitled-ttrpg
+work=$(dirname "$0")
 src=$work/src
 tmp=/tmp
 template=template.tex