On Thu, 2 Aug 2001, Stephen Hurd wrote:
Yeah, gmake is in the path if it's installed from the ports collection or as a package. It's not in the default install though, so maybe a test and warning if it doesn't exist... doesn't really matter though, I'd think anyone would pick up on that pretty quick.
Removed the 'alias make=..' and made a check wether gmake can be used. This should work reliable on all? Unix/Linux Systems. Gmake is mandatory, not make. See: http://www.desy.de/~bohnen/gpc/install.gpc
I wasn't sure if you wanted the output from ftp put into a logfile or not, I noticed that wget was outputting to outfile (If I understand wget properly - never used it) but I left it to the screen... mostly because it has a nice status bar.
The reason to hide the output (and not throwaway) of wget is to allow together with the -v 0 switch a batch version, which makes possible a remote triggered 'Hands off installation' for many machines on a bigger site. As far as I anderstand various ftp solutions, ftp works fine in interactive mode but not in batch.
Do be done: Correct output of wget under control of the variable VERBOSITY !! Thank you for suggestions
It would have required less changes if it was left using wget, but since I don't use it, I figured I'd set it up so other people could not use it too. :-)
The reason to hide the output (and not throwaway) of wget is to allow together with the -v 0 switch a batch version, which makes possible a remote triggered 'Hands off installation' for many machines on a bigger
site.
As far as I understand various ftp solutions, ftp works fine in
interactive
mode but not in batch.
ftp works great in batch mode in FreeBSD... even works with http:// URLs. I can't speak for any other OS though, but I do remember it not working on one of the other ones I've used... probably Solaris and/or Linux, but maybe HP/UX... not too sure.
The script as I sent it worked properly in FreeBSD with both the root and user installs. As long as you really were root of course.