summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-05-15 19:04:28 +0200
committerJustin Davis <jrcd83@gmail.com>2012-05-15 19:04:28 +0200
commit864892e1796de37cabf12c2c7d9d8b88bc26ac0f (patch)
tree960b4a7ce88f95680ab7be2f41d1091b018c7fce
parent75052c969a1aa4ff481ccdd31c7b092bbc1c3f44 (diff)
downloadgenpkg-864892e1796de37cabf12c2c7d9d8b88bc26ac0f.tar.gz
genpkg-864892e1796de37cabf12c2c7d9d8b88bc26ac0f.tar.xz
Fix DUMB typo in scanfield() inside genpkg.
-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 $?