From 3251a5a446be6f47b328bad2c33ceb9e6556ac4b Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Wed, 2 Jul 2003 20:53:07 +0000 Subject: [PATCH] * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES from empty DIST_ARCHIVES. --- ChangeLog | 5 +++++ lib/am/distdir.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 124910415..73ae84cbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-07-02 Alexandre Duret-Lutz + + * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES + from empty DIST_ARCHIVES. + 2003-07-01 Alexandre Duret-Lutz * automake.in (scan_autoconf_traces): Check the expected diff --git a/lib/am/distdir.am b/lib/am/distdir.am index b8b568ee8..513b50bcf 100644 --- a/lib/am/distdir.am +++ b/lib/am/distdir.am @@ -350,7 +350,7 @@ distcheck: dist && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ - for i in $(DIST_ARCHIVES); do echo $$i; done) | \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x}' -e '$${p;x}' ## Define distuninstallcheck_listfiles and distuninstallcheck separately -- 2.47.2