File: configure

package info (click to toggle)
splat 1.1.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 536 kB
  • ctags: 207
  • sloc: cpp: 4,594; ansic: 697; sh: 243; makefile: 43
file content (28 lines) | stat: -rwxr-xr-x 1,004 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/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"