summaryrefslogtreecommitdiffstats
path: root/scripts/pruneemptydirs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pruneemptydirs')
-rwxr-xr-xscripts/pruneemptydirs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pruneemptydirs b/scripts/pruneemptydirs
index 528c0ee8..6f177a0f 100755
--- a/scripts/pruneemptydirs
+++ b/scripts/pruneemptydirs
@@ -20,7 +20,7 @@ files=`find . -type d | grep -v CVS\$ | grep -v admin\$ | grep -v .libs\$ | fgre
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$|\.tqmoc|/\.#' `
+ realfiles=`find $i -type f | egrep -v '.svn|CVS/|Makefile$|Makefile.in$|Makefile.rules.in$|Makefile.calls.in$|\.o$|\.lo$|\.rpo$|\.la$|\.moc|/\.#' `
if [ -z "$realfiles" ]; then
toremove="$toremove '$i'"
fi