summaryrefslogtreecommitdiffstats
path: root/events/src
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2016-07-19 15:41:54 +0530
committerAravinda VK <avishwan@redhat.com>2016-07-21 03:24:34 -0700
commitec72746af0ee94c7b9b96fa7685490b02583f393 (patch)
tree3ade08171aa215408300cf4b60c86e2663631cfd /events/src
parent0a8b85e3a8228c399dde807c3ca781a452a1fc90 (diff)
eventsapi: Fix make install issue second time
If Symlink file $SBIN/gluster-eventsapi is not deleted, make install was failing when run second time(Without uninstall) With this patch, Symlink deleted before installing new symlink. BUG: 1357821 Change-Id: I65e636f7b48ba9e81177f56c720ffc27e1f95fb3 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/14954 Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'events/src')
-rw-r--r--events/src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/events/src/Makefile.am b/events/src/Makefile.am
index 528f0208fe2..50317d45191 100644
--- a/events/src/Makefile.am
+++ b/events/src/Makefile.am
@@ -15,7 +15,7 @@ install-exec-hook:
rm -f $(DESTDIR)$(sbindir)/glustereventsd
ln -s $(libexecdir)/glusterfs/events/glustereventsd.py \
$(DESTDIR)$(sbindir)/glustereventsd
- rm -f $(DESTDIR)$(sbindir)/gluster-eventing
+ rm -f $(DESTDIR)$(sbindir)/gluster-eventsapi
ln -s $(libexecdir)/glusterfs/peer_eventsapi.py \
$(DESTDIR)$(sbindir)/gluster-eventsapi