From d4710d221dbae58b6f443e2e8cb142dbbf6e0a44 Mon Sep 17 00:00:00 2001 From: Milan Hauth Date: Sat, 25 Nov 2023 10:33:15 +0100 Subject: [PATCH] up sync-git-mirrors.sh --- src/scripts/sync-git-mirrors.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripts/sync-git-mirrors.sh b/src/scripts/sync-git-mirrors.sh index d2c4067d..572911b2 100755 --- a/src/scripts/sync-git-mirrors.sh +++ b/src/scripts/sync-git-mirrors.sh @@ -3,6 +3,9 @@ set -e set -x +# chdir to repo root +cd "$(dirname "$0")"/../.. + opts="--force" main_branch="master"