Browse files

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

  • Loading branch information...
1 parent ac5975c commit ffad7133703dc607c193b48dc853ec97e69618ab Xiangfu Liu committed Sep 16, 2011
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`

0 comments on commit ffad713

Please sign in to comment.