diff --git a/tools/removeBasePath.sh b/tools/removeBasePath.sh new file mode 100755 index 0000000..daa3e48 --- /dev/null +++ b/tools/removeBasePath.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Replace the given basePath from the CodeCoverage reports +# +BASE_PATH=$1 +PWD="`pwd`"; +for i in `grep -r $BASE_PATH $PWD | cut -d ":" -f 1`; do + sed -i -E "s#$BASE_PATH##g" $i; +done; \ No newline at end of file