packages: nagios-plugin-check_solr/bashism.patch - one more (possible) bashism
glen
glen at pld-linux.org
Tue May 29 13:21:15 CEST 2012
Author: glen Date: Tue May 29 11:21:15 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- one more (possible) bashism
---- Files affected:
packages/nagios-plugin-check_solr:
bashism.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_solr/bashism.patch
diff -u packages/nagios-plugin-check_solr/bashism.patch:1.1 packages/nagios-plugin-check_solr/bashism.patch:1.2
--- packages/nagios-plugin-check_solr/bashism.patch:1.1 Tue May 29 13:02:18 2012
+++ packages/nagios-plugin-check_solr/bashism.patch Tue May 29 13:21:10 2012
@@ -1,5 +1,5 @@
---- nagios-plugin-check_solr/check_solr.sh~ 2011-08-10 16:54:07.000000000 +0300
-+++ nagios-plugin-check_solr/check_solr.sh 2012-05-29 14:00:40.333361738 +0300
+--- nagios-plugin-check_solr/check_solr.sh 2012-05-29 14:00:40.333361738 +0300
++++ nagios-plugin-check_solr-2010.10.11/check_solr.sh 2012-05-29 14:20:18.919910459 +0300
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
@@ -15,6 +15,15 @@
#
# Ver 2010.10.12:
# [*] Replication check was improved a bit to avoid false alarms
+@@ -83,7 +83,7 @@
+ echo "$SCRIPT_NAME - Nagios plugin to check Apache Solr"
+ echo "version $SCRIPT_VERSION, by Alex Simenduev, http://www.planetit.ws"
+
+- echo -e "\n$USAGE\n"
++ print "\n$USAGE\n"
+
+ echo "Parameters description:"
+ echo " -H|--host <host> # Solr host (default is localhost)"
@@ -140,7 +140,7 @@
local OUTPUT=$(exec_curl "${URL_PREFIX}${O_SOLR_HOST}:${O_SOLR_PORT}/solr/$1/replication?command=details&wt=xml" |
xmlstarlet sel -t -v "/response/lst[@name='details']/str[@name='isSlave']")
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/nagios-plugin-check_solr/bashism.patch?r1=1.1&r2=1.2
More information about the pld-cvs-commit
mailing list