[CalendarServer-changes] [7640] CalendarServer/trunk/sim
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 20 13:11:09 PDT 2011
Revision: 7640
http://trac.macosforge.org/projects/calendarserver/changeset/7640
Author: wsanchez at apple.com
Date: 2011-06-20 13:11:08 -0700 (Mon, 20 Jun 2011)
Log Message:
-----------
Add sim script to top
Added Paths:
-----------
CalendarServer/trunk/sim
Added: CalendarServer/trunk/sim
===================================================================
--- CalendarServer/trunk/sim (rev 0)
+++ CalendarServer/trunk/sim 2011-06-20 20:11:08 UTC (rev 7640)
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+##
+# Copyright (c) 2005-2011 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+set -e;
+set -u;
+
+wd="$(cd "$(dirname "$0")" && pwd -L)";
+
+export PYTHONPATH="$("${wd}/run" -p)";
+
+exec "${wd}/contrib/performance/sim" "$@";
Property changes on: CalendarServer/trunk/sim
___________________________________________________________________
Added: svn:executable
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110620/11a119d3/attachment.html>
More information about the calendarserver-changes
mailing list