[packages/nagios-plugin-check_megaraid_sas] - make sed on plugin source work in-place - rel 4

baggins baggins at pld-linux.org
Thu Oct 11 13:44:07 CEST 2012


commit 2102e4d8419e289d46a62140ab80466a9ab26934
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Oct 11 13:43:46 2012 +0200

    - make sed on plugin source work in-place
    - rel 4

 nagios-plugin-check_megaraid_sas.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nagios-plugin-check_megaraid_sas.spec b/nagios-plugin-check_megaraid_sas.spec
index 47b09cc..3c2da6f 100644
--- a/nagios-plugin-check_megaraid_sas.spec
+++ b/nagios-plugin-check_megaraid_sas.spec
@@ -3,7 +3,7 @@ Summary:	Nagios plugin to check the state of disk and logical drives attached to
 Name:		nagios-plugin-%{plugin}
 # revision from download page
 Version:	12
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Networking
 # http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=680&cf_id=24
@@ -31,7 +31,7 @@ controller supported by the MegaCli tool.
 %setup -qcT
 
 install %{SOURCE0} %{plugin}
-sed -e 's#/usr/sbin/MegaCli#/sbin/MegaCli#g' %{plugin}
+%{__sed} -i -e 's#/usr/sbin/MegaCli#/sbin/MegaCli#g' %{plugin}
 
 %patch0 -p0
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_megaraid_sas.git/commitdiff/2102e4d8419e289d46a62140ab80466a9ab26934



More information about the pld-cvs-commit mailing list