From: Anthony Green Date: Sun, 11 May 2014 14:22:30 +0000 (-0400) Subject: Support versions of git older than 1.8.5 X-Git-Tag: v3.1~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c2251a42df5108b6d9ebe5fe1cf83d0bcdf660e;p=platform%2Fupstream%2Flibffi.git Support versions of git older than 1.8.5 --- diff --git a/Makefile.am b/Makefile.am index 3154e8f..1dcdc81 100644 --- a/Makefile.am +++ b/Makefile.am @@ -251,4 +251,4 @@ AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src AM_CCASFLAGS = $(AM_CPPFLAGS) dist-hook: - if [ -d $(top_srcdir)/.git ] ; then git -C $(top_srcdir) log --no-decorate ; else echo 'See git log for history.' ; fi > $(distdir)/ChangeLog + if [ -d $(top_srcdir)/.git ] ; then (cd $(top_srcdir); git log --no-decorate) ; else echo 'See git log for history.' ; fi > $(distdir)/ChangeLog