$OpenBSD: patch-kde-dev-scripts_qt4_adapt-to-qt4-api_pl,v 1.2 2013/07/05 14:32:50 zhuk Exp $
Cleanup development scripts, making them more portable and secure.
Upstream review 110858: http://git.reviewboard.kde.org/r/110858/
--- kde-dev-scripts/qt4/adapt-to-qt4-api.pl.orig	Fri Jun 28 22:03:13 2013
+++ kde-dev-scripts/qt4/adapt-to-qt4-api.pl	Fri Jul  5 18:14:32 2013
@@ -22,7 +22,7 @@ sub addQStringElement
     return $result;
 }
 
-open(my $F, q(find -name "*" |));
+open(my $F, "-|", qw(find . -type f));
 my $file;
 my $warning;
 my @files = ();
