qt5: fix cmake cleanup on darwin

This fixes the case where the `find` command does not return any
files.
This commit is contained in:
Anthony Cowley 2017-11-03 19:29:52 -04:00
parent 5cfd049a03
commit 66c0193e6b

View file

@ -3,7 +3,7 @@ qtQmlPrefix=@qtQmlPrefix@
qtDocPrefix=@qtDocPrefix@
_qtRmCMakeLink() {
find "${!outputLib}" -name "*.cmake" -type l | xargs rm
find "${!outputLib}" -name "*.cmake" -type l -delete
}
postInstallHooks+=(_qtRmCMakeLink)