#!/bin/sh
if [ -x "`dirname "$0"`/node" ]; then
  "`dirname "$0"`/node"  "`dirname "$0"`/../supervisor/lib/cli-wrapper.js" "$@"
  ret=$?
else 
  node  "`dirname "$0"`/../supervisor/lib/cli-wrapper.js" "$@"
  ret=$?
fi
exit $ret
