From: Alexandre Duret-Lutz Date: Wed, 2 Jul 2003 20:53:07 +0000 (+0000) Subject: * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES X-Git-Tag: Release-1-7b~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3251a5a446be6f47b328bad2c33ceb9e6556ac4b;p=thirdparty%2Fautomake.git * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES from empty DIST_ARCHIVES. --- 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