aboutsummaryrefslogtreecommitdiff
path: root/subprojects/freeamo/src/get-licenses
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/freeamo/src/get-licenses')
-rw-r--r--subprojects/freeamo/src/get-licenses7
1 files changed, 4 insertions, 3 deletions
diff --git a/subprojects/freeamo/src/get-licenses b/subprojects/freeamo/src/get-licenses
index be814f4..6f43518 100644
--- a/subprojects/freeamo/src/get-licenses
+++ b/subprojects/freeamo/src/get-licenses
@@ -63,8 +63,8 @@ function get-licenses--download {
fi
+ if ! $debug; then echo "foo"; fi # for pv
- echo "foo" # Must be here to work with pv
done < "$output_file_1" | pv__progress
}
@@ -87,7 +87,8 @@ function get-licenses--filter {
rm -f "$run_path/build/index-search-pages--free-licenses.txt"
echo "Filter free licenses for $pv__size entries."
-
+
+ line=0
while IFS= read -r table; do
((++line))
@@ -140,7 +141,7 @@ function get-licenses--filter {
fi
- echo "foo" # Must be here to work with pv
+ if ! $debug; then echo "foo"; fi # for pv
done < "$output_file_1" | pv__progress