Skip to content
Permalink
Browse files

DOn't specify the shell to run caldavd with.

  • Loading branch information...
wsanchez committed Apr 17, 2007
1 parent cae363d commit 81a586b53512800b0ac4b15ad98ef4d118a1e4db
Showing with 3 additions and 3 deletions.
  1. +3 −3 run
6 run
@@ -98,13 +98,13 @@ if [ $# != 0 ]; then usage "Unrecognized arguments:" "$@"; fi;

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 @@ run () {
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}" \

0 comments on commit 81a586b

Please sign in to comment.
You can’t perform that action at this time.