[CalendarServer-changes] [12502] twext/trunk/bin/_build.sh

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:16:07 PDT 2014


Revision: 12502
          http://trac.calendarserver.org//changeset/12502
Author:   wsanchez at apple.com
Date:     2014-01-31 11:01:07 -0800 (Fri, 31 Jan 2014)
Log Message:
-----------
Add TWEXT_PKG_CACHE env var for cache dir

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

Modified: twext/trunk/bin/_build.sh
===================================================================
--- twext/trunk/bin/_build.sh	2014-01-31 19:00:37 UTC (rev 12501)
+++ twext/trunk/bin/_build.sh	2014-01-31 19:01:07 UTC (rev 12502)
@@ -99,6 +99,12 @@
   py_libdir="${py_root}/lib/python";
   py_bindir="${py_root}/bin";
 
+  if [ -z "${TWEXT_PKG_CACHE-}" ]; then
+    dep_packages="${dev_home}/pkg";
+  else
+    dep_packages="${TWEXT_PKG_CACHE}";
+  fi;
+
   mkdir -p "${dep_sources}";
 
   if "${force_setup}"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/5eb48d6b/attachment.html>


More information about the calendarserver-changes mailing list