aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-10-01 23:37:22 +0800
committerwill <will@FreeBSD.org>2000-10-01 23:37:22 +0800
commite7caa7844791c7cf9de170e0b23fe77f8e12b6d2 (patch)
tree38ac5738d9f0e741a0f5c4b9fdd82169d5116304 /Tools
parentd9c5c5375c8df348b9180541f306fa55110a891b (diff)
downloadfreebsd-ports-graphics-e7caa7844791c7cf9de170e0b23fe77f8e12b6d2.tar.gz
freebsd-ports-graphics-e7caa7844791c7cf9de170e0b23fe77f8e12b6d2.tar.zst
freebsd-ports-graphics-e7caa7844791c7cf9de170e0b23fe77f8e12b6d2.zip
Fix bogon where replies were not chomp()'d.
Submitted by: knu
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index 1d9f75b1f86..145cbde8d93 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -240,6 +240,7 @@ sub query {
print "$msg";
my $reply = <>;
+ chomp $reply;
return $reply;
}