<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Andreas Tille pushed to branch master
at <a href="https://salsa.debian.org/blends-team/blends">Debian Blends Team / blends</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/blends-team/blends/commit/eaff0baa6473a0deb6d857a421809139b474762d">eaff0baa</a></strong>
<div>
<span>by Lars Kruse</span>
<i>at 2018-07-08T15:40:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">avoid using "bc"</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/blends-team/blends/commit/34279f7094c94212a3f6f9b33c6692b576b3a0c5">34279f70</a></strong>
<div>
<span>by Andreas Tille</span>
<i>at 2018-07-08T16:01:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge branch 'patch-1' into 'master'

avoid using "bc"

See merge request blends-team/blends!1</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#ef93ffd8334d31b1703c4ea9b7e9576adccf7a9e">
devtools/Makefile
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="ef93ffd8334d31b1703c4ea9b7e9576adccf7a9e">
<a href="https://salsa.debian.org/blends-team/blends/compare/6cf891d71169149eb6c274cbb2ce31870a807a3b...34279f7094c94212a3f6f9b33c6692b576b3a0c5#ef93ffd8334d31b1703c4ea9b7e9576adccf7a9e"><strong>devtools/Makefile</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="41" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="41" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -41,8 +41,8 @@ LATEST    := $(shell echo "$(RELEASES)" | cut -d ' ' -f1)</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="41" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
41
</td>
<td class="diff-line-num new_line" data-linenumber="41" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
41
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC41" class="line" lang="make"><span class="nv" style="color: teal;">PREVIOUS</span>   <span class="o" style="font-weight: 600;">:=</span> <span class="nf" style="color: #900; font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">shell</span> <span class="nb" style="color: #0086b3;">echo</span> <span class="nv" style="color: teal;">$(RELEASES)</span> | <span class="nb" style="color: #0086b3;">cut</span> <span class="nt" style="color: navy;">-d</span> <span class="s1" style="color: #d14;">' '</span> <span class="nt" style="color: navy;">-f2</span><span class="nv" style="color: teal;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="42" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
42
</td>
<td class="diff-line-num new_line" data-linenumber="42" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
42
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC42" class="line" lang="make"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="43" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
43
</td>
<td class="diff-line-num new_line" data-linenumber="43" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
43
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC43" class="line" lang="make"><span class="err" style="color: #a61717; background-color: #e3d2d2;">ifneq</span> <span class="s2" style="color: #d14;">"$(LATEST)"</span> <span class="s2" style="color: #d14;">"$(PREVIOUS)"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
44
</td>
<td class="diff-line-num new_line old" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC44" class="line" lang="make">  <span class="nv" style="color: teal;">LINEEND</span>   <span class="o" style="font-weight: 600;">:=</span> <span class="nf" style="color: #900; font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">shell</span> <span class="nv" style="color: teal;">lineend</span><span class="o" style="font-weight: 600;">=</span><span class="sb" style="color: #d14;">`</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s1" style="color: #d14;">'^</span><span class="nv" style="color: teal;">$(BLEND)</span><span class="s1" style="color: #d14;">'</span> debian/changelog <span class="nt" style="color: navy;">-n</span> | <span class="nb" style="color: #0086b3;">sed</span> <span class="nt" style="color: navy;">-n</span> 2p | <span class="nb" style="color: #0086b3;">cut</span> <span class="nt" style="color: navy;">-d</span> <span class="s1" style="color: #d14;">':'</span> <span class="nt" style="color: navy;">-f1</span><span class="sb" style="color: #d14;">`</span><span class="p">;</span> <span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$$</span><span class="s2" style="color: #d14;"><span class="idiff left">lineend - 3"</span></span><span class="idiff right"> | bc</span><span class="nv" style="color: teal;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="45" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
45
</td>
<td class="diff-line-num new_line old" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC45" class="line" lang="make">  <span class="nv" style="color: teal;">LINESTART</span>  <span class="o" style="font-weight: 600;">:=</span> <span class="nf" style="color: #900; font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">shell</span> <span class="nv" style="color: teal;">linestart</span><span class="o" style="font-weight: 600;">=</span><span class="sb" style="color: #d14;">`</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s2" style="color: #d14;">"* start of automatic changelog entry *"</span> debian/changelog <span class="nt" style="color: navy;">-n</span> | <span class="nb" style="color: #0086b3;">head</span> <span class="nt" style="color: navy;">-1</span> | <span class="nb" style="color: #0086b3;">awk</span> <span class="s1" style="color: #d14;">'{print $$1}'</span> | <span class="nb" style="color: #0086b3;">tr</span> <span class="nt" style="color: navy;">-d</span> <span class="s1" style="color: #d14;">':'</span><span class="sb" style="color: #d14;">`</span><span class="p">;</span> <span class="k" style="font-weight: 600;">if</span> <span class="o" style="font-weight: 600;">[</span> <span class="nt" style="color: navy;">-z</span> <span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$$</span><span class="s2" style="color: #d14;">linestart"</span> <span class="o" style="font-weight: 600;">]</span><span class="p">;</span> <span class="k" style="font-weight: 600;">then </span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"0"</span><span class="p">;</span> <span class="k" style="font-weight: 600;">else </span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$$</span><span class="s2" style="color: #d14;"><span class="idiff left">linestart - 1"</span></span><span class="idiff right"> | bc</span><span class="p">;</span> <span class="k" style="font-weight: 600;">fi</span><span class="nv" style="color: teal;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
44
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC44" class="line" lang="make">  <span class="nv" style="color: teal;">LINEEND</span>   <span class="o" style="font-weight: 600;">:=</span> <span class="nf" style="color: #900; font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">shell</span> <span class="nv" style="color: teal;">lineend</span><span class="o" style="font-weight: 600;">=</span><span class="sb" style="color: #d14;">`</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s1" style="color: #d14;">'^</span><span class="nv" style="color: teal;">$(BLEND)</span><span class="s1" style="color: #d14;">'</span> debian/changelog <span class="nt" style="color: navy;">-n</span> | <span class="nb" style="color: #0086b3;">sed</span> <span class="nt" style="color: navy;">-n</span> 2p | <span class="nb" style="color: #0086b3;">cut</span> <span class="nt" style="color: navy;">-d</span> <span class="s1" style="color: #d14;">':'</span> <span class="nt" style="color: navy;">-f1</span><span class="sb" style="color: #d14;">`</span><span class="p">;</span> <span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"</span><span class="err" style="color: #a61717; background-color: #e3d2d2;">$$</span><span class="s2" style="color: #d14;"><span class="idiff left">((lineend - 3</span></span><span class="nv" style="color: teal;"><span class="idiff">))</span></span><span class="s2" style="color: #d14;"><span class="idiff right">"</span></span><span class="nv" style="color: teal;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="45" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
45
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC45" class="line" lang="make">  <span class="nv" style="color: teal;">LINESTART</span>  <span class="o" style="font-weight: 600;">:=</span> <span class="nf" style="color: #900; font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">shell</span> <span class="nv" style="color: teal;">linestart</span><span class="o" style="font-weight: 600;">=</span><span class="sb" style="color: #d14;">`</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s2" style="color: #d14;">"* start of automatic changelog entry *"</span> debian/changelog <span class="nt" style="color: navy;">-n</span> | <span class="nb" style="color: #0086b3;">head</span> <span class="nt" style="color: navy;">-1</span> | <span class="nb" style="color: #0086b3;">awk</span> <span class="s1" style="color: #d14;">'{print $$1}'</span> | <span class="nb" style="color: #0086b3;">tr</span> <span class="nt" style="color: navy;">-d</span> <span class="s1" style="color: #d14;">':'</span><span class="sb" style="color: #d14;">`</span><span class="p">;</span> <span class="k" style="font-weight: 600;">if</span> <span class="o" style="font-weight: 600;">[</span> <span class="nt" style="color: navy;">-z</span> <span class="s2" style="color: #d14;">"</span><span class="nv" style="color: teal;">$$</span><span class="s2" style="color: #d14;">linestart"</span> <span class="o" style="font-weight: 600;">]</span><span class="p">;</span> <span class="k" style="font-weight: 600;">then </span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"0"</span><span class="p">;</span> <span class="k" style="font-weight: 600;">else </span><span class="nb" style="color: #0086b3;">echo</span> <span class="s2" style="color: #d14;">"</span><span class="err" style="color: #a61717; background-color: #e3d2d2;">$$</span><span class="s2" style="color: #d14;"><span class="idiff left">((linestart - 1</span></span><span class="nv" style="color: teal;"><span class="idiff">))</span></span><span class="s2" style="color: #d14;"><span class="idiff right">"</span></span><span class="p">;</span> <span class="k" style="font-weight: 600;">fi</span><span class="nv" style="color: teal;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
46
</td>
<td class="diff-line-num new_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
46
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC46" class="line" lang="make"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="47" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
47
</td>
<td class="diff-line-num new_line" data-linenumber="47" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
47
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC47" class="line" lang="make">  <span class="nv" style="color: teal;">ISGREATER</span> <span class="o" style="font-weight: 600;">:=</span> <span class="nf" style="color: #900; font-weight: 600;">$(</span><span class="nb" style="color: #0086b3;">shell</span> <span class="nb" style="color: #0086b3;">expr</span> <span class="nv" style="color: teal;">$(LINESTART)</span> <span class="se" style="color: #d14;">\></span> <span class="nv" style="color: teal;">$(LINEEND))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="48" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
48
</td>
<td class="diff-line-num new_line" data-linenumber="48" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
48
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC48" class="line" lang="make"></span>
</pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
<a href="https://salsa.debian.org/blends-team/blends/compare/6cf891d71169149eb6c274cbb2ce31870a807a3b...34279f7094c94212a3f6f9b33c6692b576b3a0c5">View it on GitLab</a>.
<br>
You're receiving this email because of your account on salsa.debian.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.

</p>
</div>
</body>
</html>