Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11994

More civilized way to get last changed revision

    Details

      Description

      Suggested patch:

      Index: Makefile.am
      ===================================================================
      --- Makefile.am	(revision 66884)
      +++ Makefile.am	(working copy)
      @@ -20,7 +20,7 @@
       
       ## "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" > \
      

        Attachments

          Activity

            People

            • Assignee:
              MVekslers Michael Veksler
              Reporter:
              glebs.ivanovskis Glebs Ivanovskis (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: