Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

append_crc_len.sh: use git rev-parse instread of git log

  • Loading branch information...
commit ffad7133703dc607c193b48dc853ec97e69618ab 1 parent ac5975c
Xiangfu Liu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/append_crc_len.sh
View
2  src/append_crc_len.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-REV=$(git log | head -n 1 | cut -b8-14)
+REV=$(git rev-parse HEAD | cut -b1-7)
BOOT_CRC_BIN="boot.crc.${REV}.bin"
CRC_LEN_TMP=`mktemp`
Please sign in to comment.
Something went wrong with that request. Please try again.