From 864892e1796de37cabf12c2c7d9d8b88bc26ac0f Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Tue, 15 May 2012 13:04:28 -0400 Subject: Fix DUMB typo in scanfield() inside genpkg. --- bin/genpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/genpkg b/bin/genpkg index eac5bfa..b8f59c1 100755 --- a/bin/genpkg +++ b/bin/genpkg @@ -52,7 +52,7 @@ scanfield() { awk -v fld="$1" ' BEGIN { FS = "\n"; RS = "" } -$1 = fld { print $2; found = 1; exit } +$1 == fld { print $2; found = 1; exit } END { exit !found } ' return $? -- cgit v1.2.3-24-g4f1b