From df60bb7230331a71b7c9a2742ed7d3634231ad69 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 21 Jan 2024 22:18:04 +0000 Subject: [PATCH] bootstrap: cd to checkout dir when calling bootstrap.sh Signed-off-by: Alejandro Mery --- bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.sh b/bootstrap.sh index b6abb72..e95fabe 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,6 +1,7 @@ #!/bin/sh set -eu +cd "$(dirname "$0")" git submodule update --init ./sync.sh git reset --hard