#!/bin/bash # Simple script to compile (and if you're 'root', install) SPLAT! and # associated utilities. Written by John A. Magliacane, KD2BD May 2002 # clear whoami=`whoami` echo " ****************************************************************" echo " ** Welcome to SPLAT! Terrain Analysis Software by KD2BD **" echo " ****************************************************************" echo -e "\n Now building SPLAT! and associated utilities..." echo ./build all if [ $whoami == "root" ]; then echo -e "\nNow installing SPLAT! and associated utilities..." echo ./install all else echo echo "To install SPLAT! and its associated utilities, please" echo "su to 'root' and execute the install script as follows:" echo echo -e "\t./install all" fi echo echo "Don't forget to read the documentation under the docs directory" echo "as well as the various README files in the splat and splat/utils" echo "directories. Enjoy the program! 73, de John, KD2BD"