diff options
author | Ian Kelling <iank@fsf.org> | 2018-07-25 21:01:13 -0400 |
---|---|---|
committer | Ian Kelling <iank@fsf.org> | 2018-07-25 21:01:13 -0400 |
commit | b6ca88eb4793b3442ba6b1fe350169a7e0668945 (patch) | |
tree | 6b2c9b02ac80dd206d247e902b7cc413b1050668 /subprojects/freeamo/src/get-licenses | |
parent | 5891b34cae04c533456fc547eba4e21f00ca913e (diff) |
progress toward making things work with err:
remove : to fix command not found error.
remove ((line++)) reference to unset variable error
add missing line initialization
fix style, prefer 'x"x' to "x\"x" for readability
turn off pv when debug is set, it's messing up stack trace output
Diffstat (limited to 'subprojects/freeamo/src/get-licenses')
-rw-r--r-- | subprojects/freeamo/src/get-licenses | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subprojects/freeamo/src/get-licenses b/subprojects/freeamo/src/get-licenses index 4298962..610d614 100644 --- a/subprojects/freeamo/src/get-licenses +++ b/subprojects/freeamo/src/get-licenses @@ -40,7 +40,8 @@ function get-licenses--download { echo "Download $pv__size current_versions files that contain license information." - + + line=0 while IFS= read -r table; do ((++line)) |