Blame SOURCES/bz1121122-5-symlink_ilo34_ssh.patch

e4ffb1
From cf83b8aebf21dc9a306d42aff33d86bd5c20bcbc Mon Sep 17 00:00:00 2001
e4ffb1
From: Marek 'marx' Grac <mgrac@redhat.com>
e4ffb1
Date: Mon, 1 Dec 2014 11:04:25 +0100
e4ffb1
Subject: [PATCH] fence_ilo_ssh: Create symlinks for fence_ilo3_ssh and
e4ffb1
 fence_ilo4_ssh
e4ffb1
e4ffb1
Resolves: rhbz#1121122
e4ffb1
---
e4ffb1
 fence/agents/ilo_ssh/Makefile.am | 5 ++++-
e4ffb1
 1 file changed, 4 insertions(+), 1 deletion(-)
e4ffb1
e4ffb1
diff --git a/fence/agents/ilo_ssh/Makefile.am b/fence/agents/ilo_ssh/Makefile.am
e4ffb1
index 34769d9..883c306 100644
e4ffb1
--- a/fence/agents/ilo_ssh/Makefile.am
e4ffb1
+++ b/fence/agents/ilo_ssh/Makefile.am
e4ffb1
@@ -8,12 +8,15 @@ SRC			= $(TARGET).py
e4ffb1
 
e4ffb1
 EXTRA_DIST		= $(SRC)
e4ffb1
 
e4ffb1
-sbin_SCRIPTS		= $(TARGET)
e4ffb1
+sbin_SCRIPTS		= $(TARGET) $(SYMTARGET)
e4ffb1
 
e4ffb1
 man_MANS		= $(TARGET).8 $(SYMTARGET:%=%.8)
e4ffb1
 
e4ffb1
 FENCE_TEST_ARGS         = -p test -a test -l test
e4ffb1
 
e4ffb1
+$(SYMTARGET) : $(TARGET)
e4ffb1
+	cp $^ $@
e4ffb1
+
e4ffb1
 include $(top_srcdir)/make/fencebuild.mk
e4ffb1
 include $(top_srcdir)/make/fenceman.mk
e4ffb1
 include $(top_srcdir)/make/agentpycheck.mk
e4ffb1
-- 
e4ffb1
1.9.3
e4ffb1