$NetBSD: patch-ab,v 1.1.1.1 2009/10/02 20:30:38 markd Exp $ --- scripts/wcgrep.orig 2008-01-29 22:18:04.000000000 +1300 +++ scripts/wcgrep @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright 2004 Ben Reser # Licensed under the terms subversion ships under or GPLv2. @@ -39,7 +39,7 @@ for (( i=1; i <= $arg_count; i++ )); do arg="$1" shift 1 if [ -z "$pattern" ]; then - if [ "$arg" == "--" ]; then + if [ "$arg" = "--" ]; then grepargs="$grepargs $arg" pattern="$1" shift 1