diff options
author | david <public@beloved.name> | 2018-07-23 19:45:17 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-07-23 19:45:17 +0200 |
commit | 85cea3c6634e9af141612a406ba15ebca37e20db (patch) | |
tree | 5ff272e9f4068b85fcfc84c09cd72a314af20391 /subprojects/freeamo/src/make-wiki | |
parent | 29b7728d89b8c64220ffd06e268fdaa35dac7f45 (diff) |
FreeAMO: Improved terminal output
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)) |