You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/05/11 02:18:54 UTC
mesos git commit: Fix the absolute symlink path issue of
include/slave.
Repository: mesos
Updated Branches:
refs/heads/master 37cb66957 -> cee63bbe9
Fix the absolute symlink path issue of include/slave.
The symbolic link of include/slave to include/agent uses an absolute
path to $(DESTDIR)/include. But $(DESTDIR) is the tmp dir in build time,
it will not exist in target machine.
Review: https://reviews.apache.org/r/46816/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cee63bbe
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/cee63bbe
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/cee63bbe
Branch: refs/heads/master
Commit: cee63bbe9d57e5d9e640db90abae696745108f7f
Parents: 37cb669
Author: Zhiwei Chen <zh...@gmail.com>
Authored: Tue May 10 19:18:05 2016 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Tue May 10 19:18:05 2016 -0700
----------------------------------------------------------------------
src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/cee63bbe/src/Makefile.am
----------------------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index 710e164..9dc8eb2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2153,8 +2153,8 @@ endif
copy-template-and-create-symlink:
cp $(DESTDIR)/$(pkgsysconfdir)/mesos-agent-env.sh.template \
$(DESTDIR)/$(pkgsysconfdir)/mesos-slave-env.sh.template &&\
- ln -s $(DESTDIR)/$(includedir)/mesos/agent \
- $(DESTDIR)/$(includedir)/mesos/slave
+ cd $(DESTDIR)/$(includedir)/mesos && \
+ ln -sf agent slave
# Install compatibility symlinks for modules that used to be in $(LIBDIR)
# but are now in $(PKGMODULEDIR). We use install-data-hook because it