Fix all packages reporting.
This commit is contained in:
parent
1e75d90dc9
commit
8af57b352e
1 changed files with 1 additions and 1 deletions
2
lib.sh
2
lib.sh
|
@ -30,7 +30,7 @@ function get_package_name_ver {
|
||||||
function log { echo "$(date +%H:%M:%S)" "${@}"; }
|
function log { echo "$(date +%H:%M:%S)" "${@}"; }
|
||||||
|
|
||||||
function write_manifest {
|
function write_manifest {
|
||||||
echo "manifest list ${1}"
|
echo "manifest list ${2}"
|
||||||
log "Writing ${1} packages manifest to ${3}..."
|
log "Writing ${1} packages manifest to ${3}..."
|
||||||
# 0:-1 to remove trailing comma, delimit by newline and sort
|
# 0:-1 to remove trailing comma, delimit by newline and sort
|
||||||
echo "${2:0:-1}" | tr ',' '\n' | sort > ${3}
|
echo "${2:0:-1}" | tr ',' '\n' | sort > ${3}
|
||||||
|
|
Loading…
Reference in a new issue