diff options
Diffstat (limited to 'subprojects/freeamo/src/make-wiki')
-rw-r--r-- | subprojects/freeamo/src/make-wiki | 13 |
1 files changed, 12 insertions, 1 deletions
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)) |