cluster: RHEL55 - fence: Problems with -V in fence_sanbox and fence_vmware

Christine Caulfield chrissie at fedoraproject.org
Wed Mar 10 09:40:45 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=77cce7cd52503f83e67e6d937183db30b6e47c1e
Commit:        77cce7cd52503f83e67e6d937183db30b6e47c1e
Parent:        ac07c1e11e5a732ec80c5731f91307667a36ca31
Author:        Christine Caulfield <ccaulfie at redhat.com>
AuthorDate:    Wed Mar 10 09:40:01 2010 +0000
Committer:     Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Wed Mar 10 09:40:01 2010 +0000

fence: Problems with -V in fence_sanbox and fence_vmware

    fix for rhbz#549113

Signed-off-by: Marek 'marx' Grac <mgrac at redhat.com>
Signed-off-by: Christine Caulfield <ccaulfie at redhat.com>
---
 fence/agents/sanbox2/Makefile       |    6 +++---
 fence/agents/vmware/fence_vmware.py |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fence/agents/sanbox2/Makefile b/fence/agents/sanbox2/Makefile
index 9428344..f6d84bb 100644
--- a/fence/agents/sanbox2/Makefile
+++ b/fence/agents/sanbox2/Makefile
@@ -22,9 +22,9 @@ all: $(TARGET)
 $(TARGET): $(SOURCE)
 	: > $(TARGET)
 	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
-	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
-	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
-	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+	echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET)
+	echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
 	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
 	chmod +x $(TARGET)
 
diff --git a/fence/agents/vmware/fence_vmware.py b/fence/agents/vmware/fence_vmware.py
index 0d16ad9..7e51df5 100644
--- a/fence/agents/vmware/fence_vmware.py
+++ b/fence/agents/vmware/fence_vmware.py
@@ -23,7 +23,7 @@
 #
 
 import sys, re, pexpect, exceptions
-sys.path.append("/usr/bin/fence")
+sys.path.append("/usr/lib/fence")
 from fencing import *
 
 #BEGIN_VERSION_GENERATION


More information about the cluster-commits mailing list