summaryrefslogtreecommitdiff
path: root/cluster-geo/cluster-geo.exe
blob: 56b76e0d4d50268da14e17a1ec58da509f62d1eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin

cd `dirname $0`
if [ ! -d cluster-geo -o ! -f cluster-geo/cluster-geo.js ]; then
	echo 'Cannot find ./cluster-geo containing NodeJS script files.'
	exit 1
fi

cd cluster-geo

exec node --harmony cluster-geo.js