diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-05-25 18:54:20 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-05-25 18:54:20 +0200 |
commit | 4f14e248b35d4c9a845d511ad3af67cb3261db69 (patch) | |
tree | 41bcd44b7b87c5171043923d218222b275a65469 /bin | |
parent | 5232c0d07100d5fb0b3baff99ecb07f9a4436f4e (diff) | |
download | genpkg-4f14e248b35d4c9a845d511ad3af67cb3261db69.tar.gz genpkg-4f14e248b35d4c9a845d511ad3af67cb3261db69.tar.xz |
Fix typo in bashquote function.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pbfields | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pbfields b/bin/pbfields index c5f815e..9102bca 100755 --- a/bin/pbfields +++ b/bin/pbfields @@ -118,7 +118,7 @@ function bashquote (val) { if(val ~ /[$'"`]/){ - gsub(/[$"`]/, "\\\\&", $2) + gsub(/[$"`]/, "\\\\&", val) return sprintf("\"%s\"", val) } if(val ~ /[ <>]/) return sprintf("'%s'", val) |