Index: tools/srepl
===================================================================
--- tools/srepl	(revision 5b8f73138dfa7ec7dc93453ebcaa1f1b5ae765ff)
+++ tools/srepl	(revision 46189983620887e3f8ca39ca7efaf1c679d38910)
@@ -1,5 +1,6 @@
 #!/bin/sh
 
-function usage {
+usage()
+{
 	echo "Usage:"
 	echo
@@ -14,11 +15,11 @@
 
 
-if [ "$1" == "--" ]; then
+if [ "$1" = "--" ]; then
 	usage
-elif [ "$#" -eq 1 ]  || [ "$2" == "--" ]; then
+elif [ "$#" -eq 1 ]  || [ "$2" = "--" ]; then
 	pattern="$1"
 	shift
 	git grep -I -n "$pattern" "$@"
-elif [ "$#" -eq 2 ] || [ "$3" == "--" ]; then
+elif [ "$#" -eq 2 ] || [ "$3" = "--" ]; then
 
 	if ( git status --porcelain | grep '^.[^ ]' ); then
