[CalendarServer-dev] [Calendar and Contacts Server] #399: run script should parse_options() before including build.sh
Calendar and Contacts Server
trac at macosforge.org
Mon Sep 13 07:50:35 PDT 2010
#399: run script should parse_options() before including build.sh
----------------------------------+-----------------------------------------
Reporter: software@… | Owner: wsanchez@…
Type: Defect | Status: new
Priority: 5: Not set | Milestone:
Component: Calendar Server | Severity: Other
Keywords: |
----------------------------------+-----------------------------------------
I am trying to install a carddav server, and after building the sources, I
get this error:
{{{./run -a}}}
{{{
Missing config file: /home/freek/calendarserver/conf/caldavd-dev.plist
You might want to start by copying the test configuration:
cp conf/carddavd-test.plist conf/carddavd-dev.plist
}}}
This is obviously wrong (caldav-dev.plist is missing, but I need to cp
cardav-dev.plist?)
The reasons is that the first line is defined in support/build.sh, which
defines $conf as "${wd}/conf/${DAVD}davd-dev.plist";. However, build.sh is
included (and executed!) before run has set $DAVD correctly.
The solution is to to first let run set $DAVD, before including build.sh
Patch is attached.
--
Ticket URL: <http://trac.calendarserver.org/ticket/399>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server
More information about the calendarserver-dev
mailing list