On Mon, Nov 18, 2013 at 11:16:57AM -0500, Yaroslav Halchenko wrote: > > The problem is that the result depends in which order the "for" loop read > > the file, > > since they all set the same variables, unless one do in all the *.conf like > > SUBMITURLS="$SUBMITURLS http://myurl" > > so this is not very robust. > > as long as it is reasonably documented -- it is bullet-proof! ;) > > could also do smth like > > /bin/ls /etc/popularity-contest.d/*.conf | sort | while read i; do > > to provide consistency in order
Maybe it is better to use `run-parts --list --regex '\.conf$' /etc/popularity-contest.d/` Mind to write the documentation ? Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org