Fix determining repo root in Coverity scan script. (#17024)
Austin S. Hemmelgarn committed
Feb 16, 2024 at 11:58 UTC
43eab7b7da7f174696d8eefb6de1100a5121c535
1 file changed
+1
-1
packaging/utils/coverity-scan.sh
+1
-1
@@ -52,7 +52,7 @@ SCRIPT_SOURCE="$(
52
cd "${self%/*}" || exit 1
53
echo "$(pwd -P)/${self##*/}"
54
)"
55
-REPO_ROOT="${SCRIPT_SOURCE}/../.."
55
+REPO_ROOT="$(dirname "${SCRIPT_SOURCE}")/../.."
56
57
. "${REPO_ROOT}/packaging/installer/functions.sh"
58