[CalendarServer-changes] [9132] CalendarServer/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 16 15:38:03 PDT 2012
Revision: 9132
http://trac.macosforge.org/projects/calendarserver/changeset/9132
Author: glyph at apple.com
Date: 2012-04-16 15:38:03 -0700 (Mon, 16 Apr 2012)
Log Message:
-----------
Eliminate 'PYTHONPATH=$(run -p)' idiom, replace with "source shell.sh".
Modified Paths:
--------------
CalendarServer/trunk/sim
CalendarServer/trunk/support/pydoctor
CalendarServer/trunk/support/shell.sh
CalendarServer/trunk/testserver
Property Changed:
----------------
CalendarServer/trunk/
Modified: CalendarServer/trunk/sim
===================================================================
--- CalendarServer/trunk/sim 2012-04-16 22:34:52 UTC (rev 9131)
+++ CalendarServer/trunk/sim 2012-04-16 22:38:03 UTC (rev 9132)
@@ -21,6 +21,6 @@
wd="$(cd "$(dirname "$0")" && pwd -L)";
-export PYTHONPATH="$("${wd}/run" -p)";
+source "${wd}/support/shell.sh";
exec "${wd}/contrib/performance/sim" "$@";
Modified: CalendarServer/trunk/support/pydoctor
===================================================================
--- CalendarServer/trunk/support/pydoctor 2012-04-16 22:34:52 UTC (rev 9131)
+++ CalendarServer/trunk/support/pydoctor 2012-04-16 22:38:03 UTC (rev 9132)
@@ -5,6 +5,6 @@
wd="$(cd "$(dirname "$0")/.." && pwd)";
-export PYTHONPATH="$(${wd}/run -p)";
+source "${wd}/support/shell.sh";
"${wd}/../pydoctor-0.3/bin/pydoctor" "$@";
Modified: CalendarServer/trunk/support/shell.sh
===================================================================
--- CalendarServer/trunk/support/shell.sh 2012-04-16 22:34:52 UTC (rev 9131)
+++ CalendarServer/trunk/support/shell.sh 2012-04-16 22:38:03 UTC (rev 9132)
@@ -25,7 +25,7 @@
wd="$(pwd)";
fi;
-. ${wd}/support/build.sh;
+source "${wd}/support/build.sh";
do_setup=false;
do_get=false;
do_run=false;
Modified: CalendarServer/trunk/testserver
===================================================================
--- CalendarServer/trunk/testserver 2012-04-16 22:34:52 UTC (rev 9131)
+++ CalendarServer/trunk/testserver 2012-04-16 22:38:03 UTC (rev 9132)
@@ -61,7 +61,7 @@
# Do The Right Thing
##
-. "${wd}/support/shell.sh"
+source "${wd}/support/shell.sh";
if [ ! -e "${documentroot}/calendars/__uids__/user09" ]; then
curl "http://localhost:8008/calendars/__uids__/user09/";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120416/08725711/attachment.html>
More information about the calendarserver-changes
mailing list