[ https://issues.apache.org/jira/browse/MESOS-7262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932601#comment-15932601 ]
pawan commented on MESOS-7262: ------------------------------ Even a if check to see if the link already exists before trying to (re)create it would suffice. > Symlink mesos-agent to mesos-slave on `make install` not idempotent > ------------------------------------------------------------------- > > Key: MESOS-7262 > URL: https://issues.apache.org/jira/browse/MESOS-7262 > Project: Mesos > Issue Type: Bug > Components: cmake > Affects Versions: 1.2.0 > Reporter: pawan > > I issued a make install twice after building Mesos from source, but its > failing with the following error: > {code} > ln -s mesos-agent mesos-slave > ln: failed to create symbolic link ‘mesos-slave’: File exists > {code} > I believe `make install` has to be idempotent. It looks like LN_S in Makefile > aliases to `ln -s` and not `ln -snf` which would do it. -- This message was sent by Atlassian JIRA (v6.3.15#6346)