Blob Blame History Raw
From cf83b8aebf21dc9a306d42aff33d86bd5c20bcbc Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Mon, 1 Dec 2014 11:04:25 +0100
Subject: [PATCH] fence_ilo_ssh: Create symlinks for fence_ilo3_ssh and
 fence_ilo4_ssh

Resolves: rhbz#1121122
---
 fence/agents/ilo_ssh/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/fence/agents/ilo_ssh/Makefile.am b/fence/agents/ilo_ssh/Makefile.am
index 34769d9..883c306 100644
--- a/fence/agents/ilo_ssh/Makefile.am
+++ b/fence/agents/ilo_ssh/Makefile.am
@@ -8,12 +8,15 @@ SRC			= $(TARGET).py
 
 EXTRA_DIST		= $(SRC)
 
-sbin_SCRIPTS		= $(TARGET)
+sbin_SCRIPTS		= $(TARGET) $(SYMTARGET)
 
 man_MANS		= $(TARGET).8 $(SYMTARGET:%=%.8)
 
 FENCE_TEST_ARGS         = -p test -a test -l test
 
+$(SYMTARGET) : $(TARGET)
+	cp $^ $@
+
 include $(top_srcdir)/make/fencebuild.mk
 include $(top_srcdir)/make/fenceman.mk
 include $(top_srcdir)/make/agentpycheck.mk
-- 
1.9.3