Fix paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
diff --git a/scripts/lcov.sh b/scripts/lcov.sh
index 2b650f1..60fce6c 100755
--- a/scripts/lcov.sh
+++ b/scripts/lcov.sh
@@ -28,9 +28,11 @@
# Copyright The Mbed TLS Contributors
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+# This script must be invoked from the project's root.
+
set -eu
-. ../framework/scripts/project_detection.sh
+. framework/scripts/project_detection.sh
# Collect stats and build a HTML report.
lcov_library_report () {