cluster-geo.exe 281 B

1234567891011121314
  1. #!/bin/bash
  2. export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
  3. cd `dirname $0`
  4. if [ ! -d cluster-geo -o ! -f cluster-geo/cluster-geo.js ]; then
  5. echo 'Cannot find ./cluster-geo containing NodeJS script files.'
  6. exit 1
  7. fi
  8. cd cluster-geo
  9. exec node --harmony cluster-geo.js