enanobot
author Dan
Sun, 31 Aug 2008 10:13:05 +0000
changeset 10 a97bd37e43e9
parent 8 0acb8d9a3194
permissions -rwxr-xr-x
Fixed SCRIPT_PATH detection in changetz

#!/bin/bash
[ -n "$1" ] &&
{
  php $(dirname $0)/enanobot.php $@
  exit $?
}
while true; do
  php $(dirname $0)/enanobot.php
  [ x$? = x2 ] && break
done &