Revision: 1489 http://trac.macosforge.org/projects/calendarserver/changeset/1489 Author: wsanchez@apple.com Date: 2007-04-16 18:53:56 -0700 (Mon, 16 Apr 2007) Log Message: ----------- DOn't specify the shell to run caldavd with. Modified Paths: -------------- CalendarServer/trunk/run Modified: CalendarServer/trunk/run =================================================================== --- CalendarServer/trunk/run 2007-04-13 21:03:30 UTC (rev 1488) +++ CalendarServer/trunk/run 2007-04-17 01:53:56 UTC (rev 1489) @@ -98,13 +98,13 @@ py_version () { - local python="$1"; shift + local python="$1"; shift; echo "$("${python}" -c "from distutils.sysconfig import get_python_version; print get_python_version()")"; } try_python () { - local python="$1"; shift + local python="$1"; shift; if [ -z "${python}" ]; then return 1; fi; @@ -230,7 +230,7 @@ if [ ! -d "${wd}/logs" ]; then mkdir "${wd}/logs"; fi; - exec /bin/sh "${caldav}/bin/caldavd" ${daemonize} \ + exec "${caldav}/bin/caldavd" ${daemonize} \ -f "${config}" \ -T "${twisted}/bin/twistd" \ -P "${plugin_name}" \