artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7fa69f
)
oops, no chomp, so get rid of the extra blank line by using print
author
espie
<espie@openbsd.org>
Sat, 20 Jan 2018 12:01:56 +0000
(12:01 +0000)
committer
espie
<espie@openbsd.org>
Sat, 20 Jan 2018 12:01:56 +0000
(12:01 +0000)
usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
patch
|
blob
|
history
diff --git
a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
index
6c380e3
..
615ea8b
100644
(file)
--- a/
usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
+++ b/
usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
@@
-1,5
+1,5
@@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageRepository.pm,v 1.15
0 2018/01/19 11:34:41
espie Exp $
+# $OpenBSD: PackageRepository.pm,v 1.15
1 2018/01/20 12:01:56
espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@
-294,7
+294,7
@@
sub parse_problems
$self->{last_error} = 0;
while(<$fh>) {
if (m/^Redirected to https?\:\/\/([^\/]*)/) {
- $self->{state}->
say
("#1", $_);
+ $self->{state}->
print
("#1", $_);
$self->{host} = $1;
$baseurl = $self->url;
next;