diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2011-12-12 11:47:14 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2011-12-12 11:47:14 +0000 |
commit | 0ca5abfa48a307c115daebd6fd04f37ada14a24a (patch) | |
tree | 6c9ec78025283b5a9e15136b9b9de5af5e4cf94e /databases/gnats4/files | |
parent | 5b3931a30050b390de8b78c4db1a6aeeb8bf4093 (diff) | |
download | ports-0ca5abfa48a307c115daebd6fd04f37ada14a24a.tar.gz ports-0ca5abfa48a307c115daebd6fd04f37ada14a24a.zip |
Fix a missing ' in gnats/edit-pr.sh
PR: ports/163178
Submitted by: manolis@
Notes
Notes:
svn path=/head/; revision=287246
Diffstat (limited to 'databases/gnats4/files')
-rw-r--r-- | databases/gnats4/files/patch-gnats__edit-pr.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/gnats4/files/patch-gnats__edit-pr.sh b/databases/gnats4/files/patch-gnats__edit-pr.sh new file mode 100644 index 000000000000..935557ed8a21 --- /dev/null +++ b/databases/gnats4/files/patch-gnats__edit-pr.sh @@ -0,0 +1,11 @@ +--- gnats/edit-pr.sh.orig 2011-12-12 13:42:33.000000000 +0200 ++++ gnats/edit-pr.sh 2011-12-12 13:43:51.000000000 +0200 +@@ -169,7 +169,7 @@ + type="`$QUERY_PR --field-type $field`" + case $type in + [Ee][Nn][Uu][Mm]) +- values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;` ++ values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;'` + valslen=`echo "$values" | wc -c` + if [ "$valslen" -gt 160 ] + then |