Thanks guys for your input. raconteur, I wasn't trying to be snippy, just asking for more depth to your explanation is all.
Here's the deal. Each build script is designed to fetch the source code if not found. Well, that was
the way they worked until I changed them. Slightly broken ATM.
I added the -N switch to wget to combat corrupted downloads but I also have a contrib/ directory that people might be using if they need to grab the source code from another computer, then take everything home to build on their box. Dialup modems, dorm room internet restrictions and the like dictate a means to grab all
the source before you start building. Not everyone has the luxury of high speed internet at home.
Without checking for an active internet connection in each build script, the wget command is ran, and then hangs there forever because of no internet. Adding --dns-timeout to wget is pretty laughable so I've got to come up with some other way to skip downloading. My idea was if $INTERNET = yes then wget.
If someone happened to run the contrib/ directory but then also had an active internet connection during build time, then a little time is wasted querying the server for a timestamp (-N) but otherwise harmless.
Has anyone ever seen google down? I'm banking the answer is no. They are also static and not likely to change ever. possible but not probable.
But point taken about the IP. Not sure why I didn't use domain in the first place. Can't say that I see a problem with stderr output, but sure, I could change it.
I've thought about MD5 in the past but how do you compare hashes when your unwilling to maintain separate MD5 files for almost 200 tarballs. Not all upstream servers keep .md5sum's....
The problem stems from me trying to hand hold is about all it equates to. I'm also not interested in forcing people to run the contrib/ directory and removing wget from the children. You've kinda got to be familiar with my build system. The children have to retain source code fetching for ease of upgrading.
And back to ifconfig checking.... I'm a thoroughbred "hack" so I use the term loosely. I'm after simplicity/elegance/functionality when I script. If I were to do a 'proper' (again used loosely) check with ifconfig, I can see winding up with a 100 line function. I think I'd rather use a club than a scalpel.
But then again, my skills with awk aren't up to snuff.
I'm half tempted to go back to my original if ! found then wget conditional.... grrrrr......
Thanks again guys. I do appreciate the comments and all are taken seriously and considered (otherwise I'd have no reason to ask).