From 85cea3c6634e9af141612a406ba15ebca37e20db Mon Sep 17 00:00:00 2001 From: david Date: Mon, 23 Jul 2018 19:45:17 +0200 Subject: FreeAMO: Improved terminal output --- subprojects/freeamo/src/make-wiki | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'subprojects/freeamo/src/make-wiki') diff --git a/subprojects/freeamo/src/make-wiki b/subprojects/freeamo/src/make-wiki index 118f257..531116d 100644 --- a/subprojects/freeamo/src/make-wiki +++ b/subprojects/freeamo/src/make-wiki @@ -31,10 +31,21 @@ if [ "$minimum_average_daily_users" == "100000" ]; then fi -pv__size=$(find . -not -name . | wc -l) +if [ "$debug" = true ]; then + + pv__size=$(find . -not -name . | head -n 3 | wc -l) + +else + + pv__size=$(find . -not -name . | wc -l) + +fi + output_file="$output_file_2"; source "$run_path/src/main_functions" +echo "Make $pv__size .wiki pages" + while IFS= read -r table; do ((++line)) -- cgit v1.2.3