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

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 9 10:59:03 PDT 2014


Revision: 13225
          http://trac.calendarserver.org//changeset/13225
Author:   wsanchez at apple.com
Date:     2014-04-09 10:59:03 -0700 (Wed, 09 Apr 2014)
Log Message:
-----------
Try to keep the working directory at ${wd} (the top of the project).

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

Modified: CalendarServer/trunk/bin/_build.sh
===================================================================
--- CalendarServer/trunk/bin/_build.sh	2014-04-09 17:34:40 UTC (rev 13224)
+++ CalendarServer/trunk/bin/_build.sh	2014-04-09 17:59:03 UTC (rev 13225)
@@ -306,7 +306,7 @@
     rm -rf "${path}";
     cd "$(dirname "${path}")";
     get | ${decompress} | ${unpack};
-    cd /;
+    cd "${wd}";
   fi;
 }
 
@@ -449,6 +449,7 @@
       ./configure --prefix="${dstroot}" "$@";
       jmake;
       jmake install;
+      cd "${wd}";
     else
       echo "Using built ${name}.";
       echo "";
@@ -604,6 +605,8 @@
 
   if ! "${do_setup}"; then return 0; fi;
 
+  cd "${wd}";
+
   # Set up virtual environment
 
   if "${force_setup}"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140409/83186fb9/attachment-0001.html>


More information about the calendarserver-changes mailing list