diff options
author | david <public@beloved.name> | 2018-07-25 13:32:41 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-07-25 13:32:41 +0200 |
commit | b868025432f83cfe9ecd0e2a626cf312d2123fb1 (patch) | |
tree | d53853bb2859dcce2e430623042cf0ac65831f50 /subprojects/freeamo/src/make-wiki | |
parent | 3085614b00f7efcd46da67d3a24d21a0f4c4ce94 (diff) |
Updated FreeAMO
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 |