<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-infrastructure.
</pre>
<p><a href="https://github.com/macports/macports-infrastructure/commit/a085c5755826a728e31c169c9068e5bac043c643">https://github.com/macports/macports-infrastructure/commit/a085c5755826a728e31c169c9068e5bac043c643</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a085c5755826a728e31c169c9068e5bac043c643
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Nov 14 22:06:02 2016 -0600
<span style='display:block; white-space:pre;color:#404040;'> mprsyncup: Only generate portindexes if ports or base changed
</span>---
jobs/mprsyncup | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/jobs/mprsyncup b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;color:#808080;'>index 740720c..2ef43aa 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/jobs/mprsyncup
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -154,18 +154,20 @@ if [ ${RBASE_CHANGED} -eq 1 ]; then
</span> popd
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# generate platform-specific indexes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pushd ${PORTS} >> /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PIDS=()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-for PLATFORM in $PLATFORMS; do
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- INDEX="PortIndex_darwin_${PLATFORM}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${PORTINDEX} -p macosx_${PLATFORM} -o ${INDEX} | ${SED} "s/^/Updating ${INDEX}:"$'\t'"/" | expand -t 40,48,56,64,72,80 &
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PIDS+=($!)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-done
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-for PID in ${PIDS[*]}; do
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- wait ${PID}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-done
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-popd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if [ ${PORTS_CHANGED} -eq 1 ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # generate platform-specific indexes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pushd ${PORTS} >> /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PIDS=()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for PLATFORM in $PLATFORMS; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INDEX="PortIndex_darwin_${PLATFORM}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${PORTINDEX} -p macosx_${PLATFORM} -o ${INDEX} | ${SED} "s/^/Updating ${INDEX}:"$'\t'"/" | expand -t 40,48,56,64,72,80 &
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PIDS+=($!)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for PID in ${PIDS[*]}; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wait ${PID}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ popd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fi
</span>
${MKDIR} -p ${RSYNCROOT}/release/ports
${RSYNC} -aIC --delete ${PORTS}/ ${RSYNCROOT}/release/ports
</pre><pre style='margin:0'>
</pre>