summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-12-28 11:05:53 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-12-28 11:05:53 +0100
commitaf4a71e1e6256d2a97d04cfb335b3af14fe62dc1 (patch)
treed52eee407faa18e2cac1d4b409c962f4c3da21fb /bin
parenteca4338a0f5247f3b6c11ef75c5453de91ace326 (diff)
downloadarch-mirror-tools-af4a71e1e6256d2a97d04cfb335b3af14fe62dc1.tar.gz
arch-mirror-tools-af4a71e1e6256d2a97d04cfb335b3af14fe62dc1.tar.xz
generate-mirror-mail.pl: Always read from STDIN
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/generate-mirror-mail.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/generate-mirror-mail.pl b/bin/generate-mirror-mail.pl
index c071d8f..23384b6 100755
--- a/bin/generate-mirror-mail.pl
+++ b/bin/generate-mirror-mail.pl
@@ -98,7 +98,7 @@ sub fill_template {
return $result;
}
-while (<>) {
+while (<STDIN>) {
try {
my $url = $_;
chomp($url);