[CalendarServer-changes] [15287] CalendarServer/trunk/bin/_build.sh

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 4 12:35:59 PST 2015


Revision: 15287
          http://trac.calendarserver.org//changeset/15287
Author:   cdaboo at apple.com
Date:     2015-11-04 12:35:59 -0800 (Wed, 04 Nov 2015)
Log Message:
-----------
Better way to determine whether a patch has been done after pip install.

Modified Paths:
--------------
    CalendarServer/trunk/bin/_build.sh

Modified: CalendarServer/trunk/bin/_build.sh
===================================================================
--- CalendarServer/trunk/bin/_build.sh	2015-11-04 20:07:59 UTC (rev 15286)
+++ CalendarServer/trunk/bin/_build.sh	2015-11-04 20:35:59 UTC (rev 15287)
@@ -711,9 +711,9 @@
 
   ruler "Patching Python requirements";
   echo "";
-  if [ ! -e "${dev_patches}/Twisted" ]; then
+  if [ ! -e "${py_virtualenv}/lib/python2.7/site-packages/twisted/.patch_applied" ]; then
     apply_patches "Twisted" "${py_virtualenv}/lib/python2.7/site-packages"
-    touch "${dev_patches}/Twisted";
+    touch "${py_virtualenv}/lib/python2.7/site-packages/twisted/.patch_applied";
   fi;
 
   echo "";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20151104/9271996d/attachment.html>


More information about the calendarserver-changes mailing list