Merge pull request #27 from awalsh128/staging

Rollup staging to master.
This commit is contained in:
Andrew Walsh 2022-07-19 21:12:46 -07:00 committed by GitHub
commit 704b3e1a64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
lib.sh
View file

@ -29,8 +29,7 @@ function get_package_name_ver {
function log { echo "$(date +%H:%M:%S)" "${@}"; }
function write_manifest {
echo "manifest list ${2}"
function write_manifest {
log "Writing ${1} packages manifest to ${3}..."
# 0:-1 to remove trailing comma, delimit by newline and sort
echo "${2:0:-1}" | tr ',' '\n' | sort > ${3}