DervishD <[EMAIL PROTECTED]> writes: > I've downloaded and installed wget 1.9 without problems, but when I > install something seamlessly, I insist on messing around until I > break something...
:-) > The matter is that if you delete 'wget.info' to force recreation, > and your makeinfo is more or less recent, you *don't* have > wget.info-[0-9] files, since new texinfo's have the default > --split-size limit raised from 50k to 300k. That must be a Makeinfo 4.5 thing. I'm still using 4.3, which has the split limit unchanged. I think I originally used the more complex forms because I wanted to avoid matching something like wget.info.bak. I'm not sure if there was a specific reason for this or if I was just being extra-careful. > the first iteration 'file' contains 'wget.info', but the second one > it contains 'wget.info-*[0-9]', a valid shell pattern that leads to > the following: > > install -c -m 644 /destination/dir/wget.info-1 \ > /destination/dir/wget.info-2 \ > /destination/dir/wget.info-3 \ > /destination/dir/wget.info-4 How about: for file in wget.info wget.info-*[0-9] do test -f "$file" && install -c -m 644 "$file" ... done (Of course, it would use $$file and such in actual Makefile, but you get the picture.) That way we retain the strictness of only matching wget.info and wget.info-<numbers>, but avoid problems when only wget.info is actually generated. What do you think?
