File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3333
3434# Check for coverage file presence
3535if [ -n " ${COVERALLS_COVERAGE_FILE} " ]; then
36- if [ ! -e " ${COVERALLS_COVERAGE_FILE} " ]; then
36+ _COVERALLS_COVERAGE_FILE=" $( readlink -f " $COVERALLS_COVERAGE_FILE " ) "
37+ if [ ! -e " ${_COVERALLS_COVERAGE_FILE} " ]; then
3738 echo " Please specify a valid 'coverage_file' parameter. File doesn't exist. Filename: ${COVERALLS_COVERAGE_FILE} "
3839 exit 1
39- elif [ ! -r " ${COVERALLS_COVERAGE_FILE } " ]; then
40+ elif [ ! -r " ${_COVERALLS_COVERAGE_FILE } " ]; then
4041 echo " Please specify a valid 'coverage_file' parameter. File is not readable. Filename: ${COVERALLS_COVERAGE_FILE} "
4142 exit 1
42- elif [ ! -f " ${COVERALLS_COVERAGE_FILE } " ]; then
43+ elif [ ! -f " ${_COVERALLS_COVERAGE_FILE } " ]; then
4344 echo " Please specify a valid 'coverage_file' parameter. File specified is not a regular file. Filename: ${COVERALLS_COVERAGE_FILE} "
4445 exit 1
45- else
46- args=" ${args} --file ${COVERALLS_COVERAGE_FILE} "
4746 fi
47+
48+ args=" ${args} --file ${_COVERALLS_COVERAGE_FILE} "
4849fi
4950
5051if [ -n " ${COVERALLS_BASE_PATH} " ]; then
You can’t perform that action at this time.
0 commit comments