Blame SOURCES/bz1121122-5-symlink_ilo34_ssh.patch

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