From: Alexandre Duret-Lutz Date: Wed, 2 Jul 2003 20:53:05 +0000 (+0000) Subject: * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES X-Git-Tag: Release-1-7b~143 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=419e9952639fd4d8db52127928caf9df2de8ce2e;p=automake.git * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES from empty DIST_ARCHIVES. --- diff --git a/ChangeLog b/ChangeLog index 12491041..73ae84cb 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 b8b568ee..513b50bc 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