From 99a2774ca6f1cab334de5d43fe36fc44ae889a4c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 12 Jun 2011 01:36:19 +0000 Subject: TQt4 convert kdesdk This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- scripts/pruneemptydirs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/pruneemptydirs') diff --git a/scripts/pruneemptydirs b/scripts/pruneemptydirs index 6f177a0f..90e443b5 100755 --- a/scripts/pruneemptydirs +++ b/scripts/pruneemptydirs @@ -16,11 +16,11 @@ force=0; if [ "$1" = "-f" ]; then force=1; fi # Look for toplevel dirs -files=`find . -type d | grep -v CVS\$ | grep -v admin\$ | grep -v .libs\$ | fgrep -v .svn` +files=`tqfind . -type d | grep -v CVS\$ | grep -v admin\$ | grep -v .libs\$ | fgrep -v .svn` toremove="rm -rf"; for i in $files; do if test -d $i; then # List their contents and filter out generated files - realfiles=`find $i -type f | egrep -v '.svn|CVS/|Makefile$|Makefile.in$|Makefile.rules.in$|Makefile.calls.in$|\.o$|\.lo$|\.rpo$|\.la$|\.moc|/\.#' ` + realfiles=`tqfind $i -type f | egrep -v '.svn|CVS/|Makefile$|Makefile.in$|Makefile.rules.in$|Makefile.calls.in$|\.o$|\.lo$|\.rpo$|\.la$|\.tqmoc|/\.#' ` if [ -z "$realfiles" ]; then toremove="$toremove '$i'" fi -- cgit v1.2.1