diff --git a/jobs/mprsyncup b/jobs/mprsyncup
index d69e9ef..0a16c3f 100755
a
|
b
|
if [ "${PORTS_CHANGED}" -eq 1 ]; then |
174 | 174 | # Intentionally split PLATFORMS on whitespace. |
175 | 175 | for PLATFORM in $PLATFORMS; do |
176 | 176 | INDEX="PortIndex_darwin_${PLATFORM}" |
177 | | ${PORTINDEX} -p "macosx_${PLATFORM}" -o "${INDEX}" \ |
| 177 | OS_MAJOR="`echo ${PLATFORM} | cut -d _ -f 1`" |
| 178 | if [ "${OS_MAJOR}" -le 9 ]; then |
| 179 | CXX_STDLIB=libstdcxx |
| 180 | else |
| 181 | CXX_STDLIB=libcxx |
| 182 | fi |
| 183 | OS_ARCH="`echo ${PLATFORM} | cut -d _ -f 2`" |
| 184 | ${PORTINDEX} -p "macosx_${OS_MAJOR}_${CXX_STDLIB}_${OS_ARCH}" -o "${INDEX}" \ |
178 | 185 | | ${AWK} '{ print "Updating " idx ":\t" $0 }' idx="$INDEX" \ |
179 | 186 | | expand -t 40,48,56,64,72,80 & |
180 | 187 | done |