From 66c0193e6b4e7a6a5d8c1f84c34da8e3b04fd7c3 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Fri, 3 Nov 2017 19:29:52 -0400 Subject: [PATCH] qt5: fix cmake cleanup on darwin This fixes the case where the `find` command does not return any files. --- pkgs/development/libraries/qt-5/qtbase-setup-hook-darwin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-5/qtbase-setup-hook-darwin.sh b/pkgs/development/libraries/qt-5/qtbase-setup-hook-darwin.sh index ce1dada0c47..3f6a00dc1a1 100644 --- a/pkgs/development/libraries/qt-5/qtbase-setup-hook-darwin.sh +++ b/pkgs/development/libraries/qt-5/qtbase-setup-hook-darwin.sh @@ -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)