diff --git a/scripts/ubinize-image.sh b/scripts/ubinize-image.sh index 09a00b1898c..a18d6dc428d 100755 --- a/scripts/ubinize-image.sh +++ b/scripts/ubinize-image.sh @@ -9,7 +9,7 @@ outfile="" err="" get_magic_word() { - dd if=$1 bs=2 count=1 2>/dev/null | hexdump -v -n 2 -e '1/1 "%02x"' + dd if=$1 bs=2 count=1 2>/dev/null | od -A n -N 2 -t x1 | tr -d ' ' } is_ubifs() {