Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit ffad7133703dc607c193b48dc853ec97e69618ab 1 parent ac5975c
authored September 16, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/append_crc_len.sh
2  src/append_crc_len.sh
... ...
@@ -1,6 +1,6 @@
1 1
 #!/bin/bash
2 2
 
3  
-REV=$(git log | head -n 1 | cut -b8-14)
  3
+REV=$(git rev-parse HEAD | cut -b1-7)
4 4
 BOOT_CRC_BIN="boot.crc.${REV}.bin"
5 5
 
6 6
 CRC_LEN_TMP=`mktemp`

0 notes on commit ffad713

Please sign in to comment.
Something went wrong with that request. Please try again.