mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-14 11:06:36 +00:00
silly git needs old-school format param to remain back-compat
This commit is contained in:
parent
6c4f49a888
commit
f61051af91
@ -374,7 +374,7 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree
|
|||||||
touch .version ; \
|
touch .version ; \
|
||||||
else \
|
else \
|
||||||
if [ -d .git ] ; then \
|
if [ -d .git ] ; then \
|
||||||
version=`git log --format="%h %ci" -1 HEAD | head -1 | sed -e 's|:|-|g' || echo hacked` ; \
|
version=`git log --pretty=format:"%h %ci" -1 HEAD | head -1 | sed -e 's|:|-|g' || echo hacked` ; \
|
||||||
if [ "x$$version" = "xhacked" ] ; then \
|
if [ "x$$version" = "xhacked" ] ; then \
|
||||||
version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
|
version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
|
||||||
else \
|
else \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user