mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 10:07:08 +00:00
Merge branch 'dev' of https://github.com/awalsh128/cache-apt-pkgs-action into dev
This commit is contained in:
commit
aef0cbe5db
2
lib.sh
2
lib.sh
|
@ -37,4 +37,4 @@ function write_manifest {
|
|||
# 0:-1 to remove trailing comma, delimit by newline and sort
|
||||
echo "${2:0:-1}" | tr ',' '\n' | sort > ${3}
|
||||
log "done"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ log "- Normalized package list is '${normalized_versioned_packages}'."
|
|||
value="${normalized_versioned_packages} @ ${version}"
|
||||
log "- Value to hash is '${value}'."
|
||||
|
||||
key="$(echo "${value}" | md5sum | /bin/cut -f1 -d' ')"
|
||||
key="$(echo "${value}" | md5sum | cut -f1 -d' ')"
|
||||
log "- Value hashed as '${key}'."
|
||||
|
||||
log "done"
|
||||
|
|
Loading…
Reference in a new issue