aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-09-04 10:21:59 +0200
committerMatthias Andree <matthias.andree@gmx.de>2020-09-04 10:21:59 +0200
commit66546e6687b076477650a66b9098aa4368722b80 (patch)
tree30bb5847499d6762b4cd807b13b6c8649502945e /dist-tools
parentb6a21e7f19fbe8ae71b63af05d5b059ea4405459 (diff)
downloadfetchmail-66546e6687b076477650a66b9098aa4368722b80.tar.gz
fetchmail-66546e6687b076477650a66b9098aa4368722b80.tar.bz2
fetchmail-66546e6687b076477650a66b9098aa4368722b80.zip
makerelease.pl: strip LF from $ncpu.
Diffstat (limited to 'dist-tools')
-rwxr-xr-xdist-tools/makerelease.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/dist-tools/makerelease.pl b/dist-tools/makerelease.pl
index 6523d595..e44e988d 100755
--- a/dist-tools/makerelease.pl
+++ b/dist-tools/makerelease.pl
@@ -122,7 +122,9 @@ open(my $p, "-|", "nproc 2>/dev/null || gnproc 2>/dev/null || sysctl -n hw.ncpu
if (not defined ($ncpu = <$p>)) { die "cannot read number of CPUs"; }
close $p or die "could not find number of CPUs";
-print "### CPUs for make: $ncpu\n";
+chomp $ncpu;
+
+print "--- CPUs for make: $ncpu\n";
if ($ncpu < 1) { warn "ncpus unplausible, assuming 2"; $ncpu = 2; }
/ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# A single line with a single occurence of the destination directory
# would be more efficient (as debhelper would use one cp command), but
# this presentation seems more easy to maintain.
contrib/fetchmailnochda.pl              usr/share/doc/fetchmail/contrib
contrib/fetchsetup                      usr/share/doc/fetchmail/contrib
contrib/domino                          usr/share/doc/fetchmail/contrib
contrib/fetchmaildistrib                usr/share/doc/fetchmail/contrib
contrib/fetchmail-mode.el               usr/share/doc/fetchmail/contrib
contrib/getmail                         usr/share/doc/fetchmail/contrib
contrib/gotmail                         usr/share/doc/fetchmail/contrib
contrib/gotmail.awk                     usr/share/doc/fetchmail/contrib
contrib/gotmail.conf                    usr/share/doc/fetchmail/contrib
contrib/gotmail.html.awk                usr/share/doc/fetchmail/contrib
contrib/login                           usr/share/doc/fetchmail/contrib
contrib/logout                          usr/share/doc/fetchmail/contrib
contrib/maildaemon                      usr/share/doc/fetchmail/contrib
contrib/mailqueue.pl                    usr/share/doc/fetchmail/contrib
contrib/multidrop                       usr/share/doc/fetchmail/contrib
contrib/novell                          usr/share/doc/fetchmail/contrib
contrib/poptest                         usr/share/doc/fetchmail/contrib
contrib/preauth-harness                 usr/share/doc/fetchmail/contrib
contrib/README                          usr/share/doc/fetchmail/contrib
contrib/README.getmail                  usr/share/doc/fetchmail/contrib
contrib/runfetchmail                    usr/share/doc/fetchmail/contrib
contrib/toprocmail                      usr/share/doc/fetchmail/contrib
contrib/zsh-completion                  usr/share/doc/fetchmail/contrib
contrib/fetchmail.logrotate             usr/share/doc/fetchmail/contrib
contrib/delete-later                    usr/share/doc/fetchmail/contrib
contrib/delete-later.README             usr/share/doc/fetchmail/contrib
contrib/systemd/fetchmail.service       usr/lib/systemd/user/