better compatibillity with old git versions to get the current rev.
This commit is contained in:
parent
17521f99cf
commit
c5630006b6
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# the COPYRIGHT file.
|
||||
|
||||
|
||||
git_cmd = `git log -1 --format="%H %ci"`
|
||||
git_cmd = `git log -1 --pretty="format:%H %ci"`
|
||||
if git_cmd =~ /^([\d\w]+?)\s(.+)$/
|
||||
AppConfig[:git_revision] = $1
|
||||
AppConfig[:git_update] = $2.strip
|
||||
|
|
|
|||
Loading…
Reference in a new issue