diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-01-16 19:17:08 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-01-16 19:17:08 +0300 |
commit | d7891eef980ab9cfbf60f895cb578c7cf652a715 (patch) | |
tree | dfbefd81f3d6480a804e746b2d6b0f9312c3bd41 /Makefile.am | |
parent | 86c3e579f370a06e3622d2303fb537e6c1383a69 (diff) |
....I..... [ZBX-11994] fixed information about last changed revision
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 9f00c8b58d6..dad51659afd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,7 @@ EXTRA_DIST = \ ## "dist-hook" run after the distribution directory is filled, but before the actual tar (or shar) file is created. dist-hook: - @zabbix_revision=`svn info|grep "Last Changed Rev"|awk '{print $$4;}'`; \ + @zabbix_revision=`svn info --show-item last-changed-revision`; \ cat $(top_distdir)/include/version.h|sed "s/{ZABBIX_REVISION}/$$zabbix_revision/g" > $(top_distdir)/include/version.h.new; \ mv $(top_distdir)/include/version.h.new $(top_distdir)/include/version.h; \ cat $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java|sed "s/{ZABBIX_REVISION}/$$zabbix_revision/g" > \ |