aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/pd-devel-auto-builder.sh
blob: 1524c13cacd85d1a8771a4d51637d493ca860084 (plain)
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
29
30
31
32
33
#!/bin/sh

HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'`
SYSTEM=`uname -s`
DATE=`date +%Y-%m-%d`
TIME=`date +%H.%M.%S`
SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`

case $SYSTEM in 
	 Linux)
		  echo "Configuring for GNU/Linux"
		  ;;
	 Darwin)
		  echo "Configuring for Darwin/Mac OS X"
		  ;;
	 MINGW*)
		  echo "Configuring for MinGW/Windows"
		  ;;
	 CYGWIN*)
		  echo "Configuring for Cygwin/Windows"
		  ;;
	 *)
		  echo "ERROR: Platform $SYSTEM not supported!"
		  exit
		  ;;
esac



echo "This currently does nothing, but it could..."

# if the below word prints, the status report email is not sent
echo SUCCESS