summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/catalyst-auto')
-rwxr-xr-xtools/catalyst-auto5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 51e0c16a..b933aa69 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -159,8 +159,9 @@ if [[ -n ${lock_file} ]]; then
fi
fi
-# Probe the default gitdir from this script name.
-GITDIR=$(dirname "$(dirname "$(realpath "$0")")")
+# Probe the default source dir from this script name.
+REPO_DIR=$(dirname "$(dirname "$(realpath "$0")")")
+GITDIR=${REPO_DIR}
# Set up defaults that config files can override if they want.
SUBARCH=$(uname -m)