Skip to content

Commit 0a94f16

Browse files
committed
Merge pull request #22 from 0xced/fix-arguments-passing
Fix passing list of arguments to lcov and gcov
2 parents 9024b26 + b9bc512 commit 0a94f16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

envcov.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ OBJ_DIR=${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}
1616

1717
# Fix for the new LLVM-COV that requires gcov to have a -v paramter
1818
LCOV() {
19-
${LCOV_PATH}/lcov $* --gcov-tool ${XCODECOVERAGE_PATH}/llvm-cov-wrapper.sh
19+
${LCOV_PATH}/lcov "$@" --gcov-tool ${XCODECOVERAGE_PATH}/llvm-cov-wrapper.sh
2020
}

llvm-cov-wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if [ "$1" = "-v" ]; then
99
echo "llvm-cov-wrapper 4.2.1"
1010
exit 0
1111
else
12-
/usr/bin/gcov $*
12+
/usr/bin/gcov "$@"
1313
fi

0 commit comments

Comments
 (0)