Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
append_crc_len.sh: use git rev-parse instread of git log
  • Loading branch information
Xiangfu Liu committed Sep 16, 2011
1 parent ac5975c commit ffad713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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`
Expand Down

0 comments on commit ffad713

Please sign in to comment.