#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_ibcheckerrors_bashisms.dpatch by  <benoit.mortier@opensides.be>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Correct bashims in ibcheckerrors script

@DPATCH@

--- trunk/scripts/ibcheckerrors.in	2009-07-29 14:58:00.000000000 +0200
+++ trunk/scripts/ibcheckerrors.in.new	2009-12-20 19:12:11.000000000 +0100
@@ -2,13 +2,13 @@
 
 IBPATH=${IBPATH:-@IBSCRIPTPATH@}
 
-function usage() {
+usage() {
 	echo Usage: `basename $0` "[-h] [-b] [-v] [-N | -nocolor]"\
 	    "[<topology-file> | -C ca_name -P ca_port -t(imeout) timeout_ms]"
 	exit -1
 }
 
-function user_abort() {
+user_abort() {
 	echo "Aborted"
 	exit 1
 }
