fix a bashism, ride on recent update

This commit is contained in:
drochner 2008-07-30 10:21:27 +00:00
parent a49a859650
commit 3d045cc7f7
2 changed files with 15 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.10 2008/07/29 21:19:55 wiz Exp $
$NetBSD: distinfo,v 1.11 2008/07/30 10:21:27 drochner Exp $
SHA1 (surfraw-2.2.2.tar.gz) = 1f2786564fb0f6b4cc3bbe3d54e9a2af6ef6dec6
RMD160 (surfraw-2.2.2.tar.gz) = 189fcc69c0a1938cfec48f6657da14828bbc168c
Size (surfraw-2.2.2.tar.gz) = 133596 bytes
SHA1 (patch-ab) = a7e99d56668caab338996a20d65d08c7bfb48c27
SHA1 (patch-ac) = c3d83a595a1c175532dd10b2eb8375f0af875d9d

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.1 2008/07/30 10:21:27 drochner Exp $
--- elvi/google.orig 2008-07-08 21:42:02.000000000 +0200
+++ elvi/google
@@ -53,7 +53,7 @@ w3_parse_args "$@"
# w3_args now contains a list of arguments
# Use SURFRAW_lang if present and the country has not been changed
-if test -n "$SURFRAW_lang" -a "$SURFRAW_google_country" == "us"; then
+if test -n "$SURFRAW_lang" -a "$SURFRAW_google_country" = "us"; then
SURFRAW_google_country=$SURFRAW_lang;
fi