summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genpkg2
1 files changed, 1 insertions, 1 deletions
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 $?