codecoverage.sh getting .pro file using ls not find

This commit is contained in:
Filip Bucek 2019-11-06 13:45:47 +01:00
parent 4f10653051
commit caeb1305e3

View File

@ -17,7 +17,7 @@ COVERAGE_FILTER="*Qt*.framework* *Xcode.app* *.moc *moc_*.cpp */test/* *qrc_* ui
main() {
info "Getting .pro file"
PRO_FILE=$(find . -d 1 -type f -name "*.pro")
PRO_FILE=$(ls *.pro)
# Ensuring server-sdk wont be filtered out for server-sdk
NAME=$( basename $PWD )