diff --git a/scripts/get_code_cov.sh b/scripts/get_code_cov.sh index 34f1e26..0493afb 100755 --- a/scripts/get_code_cov.sh +++ b/scripts/get_code_cov.sh @@ -1,9 +1,6 @@ #!/bin/bash -cp debug/*.gcda . -cp debug/*.gcno . - -for filename in $(find . | egrep '\.cpp$'); +for filename in $(find . | grep -E '\.cpp$') do - gcov -n -o . $filename > /dev/null; + gcov -n -o . "${filename}" > /dev/null done