summaryrefslogtreecommitdiffstats
path: root/scripts/pruneemptydirs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pruneemptydirs')
-rwxr-xr-xscripts/pruneemptydirs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pruneemptydirs b/scripts/pruneemptydirs
index 90e443b5..528c0ee8 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=`tqfind . -type d | grep -v CVS\$ | grep -v admin\$ | grep -v .libs\$ | fgrep -v .svn`
+files=`find . -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=`tqfind $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$|\.tqmoc|/\.#' `
if [ -z "$realfiles" ]; then
toremove="$toremove '$i'"
fi