<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8b27659087583b705f8e269464e384ae7c3abfce">https://github.com/macports/macports-ports/commit/8b27659087583b705f8e269464e384ae7c3abfce</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8b27659087583b705f8e269464e384ae7c3abfce
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri Oct 20 16:34:26 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> collectd: dep-gen.sh: Generate sorted output
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Associative arrays in bash do not retain the order the entries where
</span><span style='display:block; white-space:pre;color:#404040;'> added, so we need to sort the keys to get better diff output for port
</span><span style='display:block; white-space:pre;color:#404040;'> updates.
</span>---
sysutils/collectd/files/dep-gen.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 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 a646688..d6d135d 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;'>@@ -287,15 +287,15 @@ echo
</span>
echo "# enable all matches and targets, disable all other plugins"
echo "configure.args-append \\"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-for option in ${OPTIONS_ENABLE[@]}; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for option in $(printf "%s\n" ${OPTIONS_ENABLE[@]} | sort); do
</span> echo " --enable-$option \\"
done
<span style='display:block; white-space:pre;background:#ffe0e0;'>-for plugin in ${!PLUGINS[@]}; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for plugin in $(printf "%s\n" ${!PLUGINS[@]} | sort); do
</span> echo " --disable-$plugin \\"
done
echo
<span style='display:block; white-space:pre;background:#ffe0e0;'>-for plugin in ${!PLUGINS[@]}; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for plugin in $(printf "%s\n" ${!PLUGINS[@]} | sort); do
</span> if [ -z "${OSX_BLACKLIST[$plugin]}" ]; then
printf "variant %s description {%s} {\n" "$plugin" "${PLUGINS[$plugin]}"
printf " configure.args-delete --disable-$plugin\n"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -313,7 +313,7 @@ for plugin in ${!PLUGINS[@]}; do
</span> done
echo "default_variants \\"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-for plugin in ${OSX_STANDARD[@]}; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for plugin in $(printf "%s\n" ${OSX_STANDARD[@]} | sort); do
</span> printf " +%s \\\\\n" "$plugin"
done
echo
</pre><pre style='margin:0'>
</pre>