diff --git a/codecov b/codecov index 62b6c478..502ce6f0 100755 --- a/codecov +++ b/codecov @@ -372,7 +372,12 @@ $OPTARG" curl_s="" ;; "x") - gcov_exe=$OPTARG + if [ -z "${OPTARG##*llvm-cov*}" -a -n "${OPTARG##*gcov*}" ]; + then + gcov_exe="$OPTARG gcov" + else + gcov_exe="$OPTARG" + fi ;; "X") if [ "$OPTARG" = "gcov" ];