Skip to content

Commit

Permalink
qt5: fix cmake cleanup on darwin
Browse files Browse the repository at this point in the history
This fixes the case where the `find` command does not return any
files.

(cherry picked from commit 66c0193)
  • Loading branch information
acowley authored and LnL7 committed Nov 7, 2017
1 parent edcc045 commit 57554d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 57554d5

Please sign in to comment.