refactor: uninstall first
This commit is contained in:
parent
13699f860c
commit
81e98cc07f
|
@ -18,7 +18,7 @@ function install_lcov() {
|
||||||
echo -e "\nInstalling..."
|
echo -e "\nInstalling..."
|
||||||
local version=$1
|
local version=$1
|
||||||
cd lcov-${version}
|
cd lcov-${version}
|
||||||
sudo make install
|
sudo make uninstall && sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
echo "lcov version ${version} installed."
|
echo "lcov version ${version} installed."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue