summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/chromeos/gen_test_hwid.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/chromeos/gen_test_hwid.sh b/util/chromeos/gen_test_hwid.sh
index 9dfbce5a85..8f3b948a96 100755
--- a/util/chromeos/gen_test_hwid.sh
+++ b/util/chromeos/gen_test_hwid.sh
@@ -13,7 +13,7 @@ main() {
local prefix="$(echo "${board}" | tr a-z A-Z) TEST"
# gzip has second-to-last 4 bytes in CRC32.
local crc32="$(printf "${prefix}" | gzip -1 | tail -c 8 | head -c 4 | \
- hexdump -e '1/4 "%04u" ""' | tail -c 4)"
+ od -An -vtu4 | tr -d '\n' | tail -c 4)"
echo "${prefix}" "${crc32}"
}