all: make update_tests.sh scripts location-independent

Co-Authored-By: sketch <hello@sketch.dev>
diff --git a/loop/update_tests.sh b/loop/update_tests.sh
index f6be384..1e78edd 100755
--- a/loop/update_tests.sh
+++ b/loop/update_tests.sh
@@ -1,4 +1,11 @@
 #!/bin/bash
 
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+CURRENT_DIR=$(pwd)
+
+cd "$SCRIPT_DIR"
+
 go test -httprecord .
 go test
+
+cd "$CURRENT_DIR"