diff options
Diffstat (limited to 'subprojects/freeamo/src/make-wiki')
-rw-r--r-- | subprojects/freeamo/src/make-wiki | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/subprojects/freeamo/src/make-wiki b/subprojects/freeamo/src/make-wiki index 531116d..93b768d 100644 --- a/subprojects/freeamo/src/make-wiki +++ b/subprojects/freeamo/src/make-wiki @@ -30,21 +30,21 @@ if [ "$minimum_average_daily_users" == "100000" ]; then fi +output_file="$output_file_2"; if [ "$debug" = true ]; then - - pv__size=$(find . -not -name . | head -n 3 | wc -l) + + pv__size=$(cat "$output_file_2" | head -n 3 | wc -l) else - pv__size=$(find . -not -name . | wc -l) + pv__size=$(cat "$output_file_2" | wc -l) fi -output_file="$output_file_2"; source "$run_path/src/main_functions" -echo "Make $pv__size .wiki pages" +echo "Generate $pv__size .wiki pages." while IFS= read -r table; do @@ -213,7 +213,7 @@ at https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/ fi echo "foo" # Must be here to work with pv -done < "$output_file_2" | pv__progress +done < "$output_file_2" # | pv__progress # End template |