diff --git a/scripts/transitive-deps.sh b/scripts/transitive-deps.sh index 23121c6b7..c6f8b76e4 100755 --- a/scripts/transitive-deps.sh +++ b/scripts/transitive-deps.sh @@ -469,7 +469,9 @@ case "${notices_out}" in fi readonly hashedNotice="${tmpFiles}/hashednotices" ( # md5sum outputs checksum space indicator(space or *) filename newline + set +e sort -u "${allNotice}" | tr '\n' '\0' | xargs -0 -r md5sum 2>/dev/null + set -e # use sed to replace space and indicator with separator ) > "${hashedNotice}" if ${showProgress}; then