From 81e98cc07f9305c4db3eecc02215156c89b75f8e Mon Sep 17 00:00:00 2001 From: WANG Xu Date: Wed, 18 Dec 2024 18:35:03 +0800 Subject: [PATCH] refactor: uninstall first --- tests/setup-lcov.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setup-lcov.sh b/tests/setup-lcov.sh index 16180736f4..0d1861fc92 100644 --- a/tests/setup-lcov.sh +++ b/tests/setup-lcov.sh @@ -18,7 +18,7 @@ function install_lcov() { echo -e "\nInstalling..." local version=$1 cd lcov-${version} - sudo make install + sudo make uninstall && sudo make install cd .. echo "lcov version ${version} installed." }