[CalendarServer-changes] [13388] CalendarServer/trunk/support/Apple.make

source_changes at macosforge.org source_changes at macosforge.org
Thu May 1 11:41:31 PDT 2014


Revision: 13388
          http://trac.calendarserver.org//changeset/13388
Author:   wsanchez at apple.com
Date:     2014-05-01 11:41:31 -0700 (Thu, 01 May 2014)
Log Message:
-----------
Fix symlinks

Modified Paths:
--------------
    CalendarServer/trunk/support/Apple.make

Modified: CalendarServer/trunk/support/Apple.make
===================================================================
--- CalendarServer/trunk/support/Apple.make	2014-04-30 22:09:08 UTC (rev 13387)
+++ CalendarServer/trunk/support/Apple.make	2014-05-01 18:41:31 UTC (rev 13388)
@@ -128,10 +128,11 @@
 install-commands::
 	@echo "Installing links to executables...";
 	$(_v) $(INSTALL_DIRECTORY) "$(DSTROOT)$(SIPP)/usr/bin";
-	$(_v) ln -fs "../..$(NSLOCALDIR)$(NSLIBRARYSUBDIR)/CalendarServer/bin/caldavd" "$(DSTROOT)$(SIPP)/usr/sbin";
+	$(_v) $(INSTALL_DIRECTORY) "$(DSTROOT)$(SIPP)/usr/sbin";
+	$(_v) ln -fs "../..$(NSLOCALDIR)$(NSLIBRARYSUBDIR)/CalendarServer/bin/caldavd" "$(DSTROOT)$(SIPP)/usr/sbin/caldavd";
 	$(_v) cd "$(DSTROOT)$(SIPP)/usr/bin/" &&                                                         \
 	      for cmd in "../..$(NSLOCALDIR)$(NSLIBRARYSUBDIR)/CalendarServer/bin/calendarserver_"*; do  \
-	          ln -fs "$${cmd}" .;                                                                    \
+	          ln -fs "$${cmd}" "./$$(basename "$${cmd}")";                                           \
 	      done;
 
 install:: install-man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140501/dd5b2ab1/attachment.html>


More information about the calendarserver-changes mailing list