changeset 17013:12eb56636194

maint.mk: avoid a sub-shell * top/maint.mk (release-prep): Remove unneeded sub-shell.
author Jim Meyering <meyering@redhat.com>
date Mon, 30 Jul 2012 11:30:53 +0200
parents 166502842193
children dac0cd2e8030
files ChangeLog top/maint.mk
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-30  Jim Meyering  <meyering@redhat.com>
+
+	maint.mk: avoid a sub-shell
+	* top/maint.mk (release-prep): Remove unneeded sub-shell.
+
 2012-07-30  Akim Demaille  <akim@lrde.epita.fr>
 
 	maint.mk: absolute VPATH issue
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1388,7 +1388,7 @@
 	$(MAKE) update-NEWS-hash
 	perl -pi -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' $(srcdir)/NEWS
 	msg=$$($(emit-commit-log)) || exit 1;		\
-	(cd $(srcdir) && $(VC) commit -m "$$msg" -a)
+	cd $(srcdir) && $(VC) commit -m "$$msg" -a
 
 # Override this with e.g., -s $(srcdir)/some_other_name.texi
 # if the default $(PACKAGE)-derived name doesn't apply.