[CalendarServer-changes] [212] CalendarServer/trunk/run
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 27 15:11:25 PDT 2006
Revision: 212
http://trac.macosforge.org/projects/calendarserver/changeset/212
Author: wsanchez at apple.com
Date: 2006-09-27 15:11:25 -0700 (Wed, 27 Sep 2006)
Log Message:
-----------
If 'svn info' fails, fall back to http base URI.
Modified Paths:
--------------
CalendarServer/trunk/run
Modified: CalendarServer/trunk/run
===================================================================
--- CalendarServer/trunk/run 2006-09-27 22:00:21 UTC (rev 211)
+++ CalendarServer/trunk/run 2006-09-27 22:11:25 UTC (rev 212)
@@ -332,7 +332,9 @@
# PyKerberos
#
-svn_uri_base="$(svn info "${caldav}" --xml | sed -n 's|^.*<root>\(.*\)</root>.*$|\1|p')";
+if ! svn_uri_base="$(svn info "${caldav}" --xml | sed -n 's|^.*<root>\(.*\)</root>.*$|\1|p')" 2>/dev/null; then
+ svn_uri_base="http://svn.opensource.apple.com/repository/calendarserver";
+fi;
if [ -z "${svn_uri_base}" ]; then
echo "Unable to locate subversion base URI for sources.";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20060927/48fbd3e2/attachment.html
More information about the calendarserver-changes
mailing list