aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscript.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/script.sh b/script.sh
index 3159aa2..f4cac38 100755
--- a/script.sh
+++ b/script.sh
@@ -10,7 +10,7 @@ mkdir git -p
# the most revs, thus start them first.
f() {
time { \
- find cvs-repo/gentoo-x86 -maxdepth 1 -mindepth 1 -printf '%P\n' | \
+ find cvs-repo/gentoo-x86/ -maxdepth 1 -mindepth 1 -printf '%P\n' | \
xargs -n1 -I{} -- du -cs "cvs-repo/gentoo-x86/{}" | grep -v 'total$' | \
sort -gr | awk '{print $2;}' | xargs -n1 basename | \
xargs -n1 -P${proc_count} -I{} ./process_directory.sh "{}" $1