commit | ea47242e62d645a64ef3b1da6083414901e4df4f | [log] [tgz] |
---|---|---|
author | Yash Chaturvedi <yash.chaturvedi@linaro.org> | Tue Sep 05 18:42:44 2023 +0530 |
committer | Yash Chaturvedi <yash.chaturvedi@linaro.org> | Mon Sep 11 09:12:56 2023 +0530 |
tree | 2edc5c569d0dca8e94d88b949b9913e63b475ffb | |
parent | 71f46d1e0fdca2eb2bfa87a983316eeb35ce40c1 [diff] |
Fix Change-Id generator helper On certain platforms (at least alpine) the commonly used echo "I$(uuidgen | openssl dgst -sha1 -binary | xxd -p)" could create a string with trailing whitespace. Replacing that with echo "I$(uuidgen | sha1sum | awk '{print $1}')" does not have that problem and what it does is more obvious at a glance. Change-Id: I2f4b490272a19d123a1dca2ba13f8b222e9c3035