diff --git a/lib.sh b/lib.sh index 0bba904..edabb1a 100755 --- a/lib.sh +++ b/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" -} \ No newline at end of file +} diff --git a/pre_cache_action.sh b/pre_cache_action.sh index 6097431..b6755ed 100755 --- a/pre_cache_action.sh +++ b/pre_cache_action.sh @@ -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"