changeset 19842:df3f1d2328d7

Fix 'make dist' target failing (bug #44333) * Makefile.am (changelog-from-hg-log): Run in a subshell instead of a group command so the working directory is not changed.
author Mike Miller <mtmiller@ieee.org>
date Sat, 21 Feb 2015 10:42:30 -0500
parents 5512baa94d30
children fd4a2df4694e
files Makefile.am
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Sat Feb 21 10:42:00 2015 -0500
+++ b/Makefile.am	Sat Feb 21 10:42:30 2015 -0500
@@ -160,11 +160,11 @@
 
 define changelog-from-hg-log
   rm -f $@-t $@ && \
-  { cd $(srcdir); \
+  ( cd $(srcdir); \
     hg log --style=build-aux/changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; \
     echo ""; \
     echo "See the files in the directory etc/OLD-ChangeLogs for changes before 2011-04-19"; \
-  } > $@-t && \
+  ) > $@-t && \
   mv $@-t $@
 endef