diff --git a/scripts/lcov.sh b/scripts/lcov.sh index dd983ddec5..5c17a5be6a 100755 --- a/scripts/lcov.sh +++ b/scripts/lcov.sh @@ -28,9 +28,11 @@ EOF # 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 () {