<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e40f50c0ef420f439136281dd2665ff96da0253e">https://github.com/macports/macports-ports/commit/e40f50c0ef420f439136281dd2665ff96da0253e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e40f50c0ef420f439136281dd2665ff96da0253e
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Wed Apr 25 22:49:47 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> collectd: Avoid trailing backslashes in dep-gen.sh
</span>---
sysutils/collectd/files/dep-gen.sh | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/collectd/files/dep-gen.sh b/sysutils/collectd/files/dep-gen.sh
</span><span style='display:block; white-space:pre;color:#808080;'>index ac33c46..93c2b8c 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/collectd/files/dep-gen.sh
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/collectd/files/dep-gen.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -354,14 +354,17 @@ echo "#######################################################"
</span> echo
echo "# enable all matches and targets, disable all other plugins"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-echo "configure.args-append \\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+echo -n "configure.args-append"
</span> for option in $(printf "%s\n" ${OPTIONS_ENABLE[@]} | sort); do
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo " --enable-$option \\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " \\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo -n " --enable-$option"
</span> done
for plugin in $(printf "%s\n" ${!PLUGINS[@]} | sort); do
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo " --disable-$plugin \\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " \\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo -n " --disable-$plugin"
</span> done
echo
<span style='display:block; white-space:pre;background:#e0ffe0;'>+echo
</span>
for plugin in $(printf "%s\n" ${!PLUGINS[@]} | sort); do
if [ -z "${OSX_BLACKLIST[$plugin]}" ]; then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -380,8 +383,10 @@ for plugin in $(printf "%s\n" ${!PLUGINS[@]} | sort); do
</span> fi
done
<span style='display:block; white-space:pre;background:#ffe0e0;'>-echo "default_variants \\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+echo -n "default_variants"
</span> for plugin in $(printf "%s\n" ${OSX_STANDARD[@]} | sort); do
<span style='display:block; white-space:pre;background:#ffe0e0;'>- printf " +%s \\\\\n" "$plugin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " \\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf " +%s" "$plugin"
</span> done
echo
<span style='display:block; white-space:pre;background:#e0ffe0;'>+echo
</span></pre><pre style='margin:0'>
</pre>