[CalendarServer-changes] [13448] CalendarServer/trunk/support/Apple.make
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 5 18:29:34 PDT 2014
Revision: 13448
http://trac.calendarserver.org//changeset/13448
Author: wsanchez at apple.com
Date: 2014-05-05 18:29:34 -0700 (Mon, 05 May 2014)
Log Message:
-----------
Replace absolute links.
Modified Paths:
--------------
CalendarServer/trunk/support/Apple.make
Modified: CalendarServer/trunk/support/Apple.make
===================================================================
--- CalendarServer/trunk/support/Apple.make 2014-05-06 01:29:00 UTC (rev 13447)
+++ CalendarServer/trunk/support/Apple.make 2014-05-06 01:29:34 UTC (rev 13448)
@@ -104,7 +104,7 @@
$(_v) for pkg in $$(find "$(Sources)/.develop/pip_downloads" -type f); do \
$(Environment) \
"$(DSTROOT)$(CS_VIRTUALENV)/bin/pip" install \
- --pre --allow-all-external --no-index --no-deps \
+ --pre --allow-all-external --no-index --no-deps \
--log=/tmp/pip.log \
"$${pkg}"; \
done;
@@ -122,17 +122,17 @@
$(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type d -name .svn -print0 | xargs -0 rm -rf;
$(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type f -name "*.so" -print0 | xargs -0 $(STRIP) -Sx;
$(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type f -size 0 -name "*.py" -exec sh -c 'printf "# empty\n" > {}' ";";
- $(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type l | \
- while read link; do \
- target="$(readlink "${link}")"; \
- if [ "$(echo ${target} | cut -f 1 -d /)" == "" ]; then \
- rm -fv "${link}"; \
- cp -afv "${target}" "${link}" || { \
- rm -rfv "${link}"; \
- ln -sfv "${target}" "${link}"; \
- } \
- fi; \
- done;
+ $(_v) find "$(DSTROOT)$(CS_VIRTUALENV)" -type l | \
+ while read link; do \
+ target="$$(readlink "$${link}")"; \
+ if [ "$$(echo $${target} | cut -f 1 -d /)" == "" ]; then \
+ rm -fv "$${link}"; \
+ cp -afv "$${target}" "$${link}" || { \
+ rm -rfv "$${link}"; \
+ ln -sfv "$${target}" "$${link}"; \
+ } \
+ fi; \
+ done;
install:: install-config
install-config::
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140505/da4418d6/attachment-0001.html>
More information about the calendarserver-changes
mailing list