File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,14 +257,16 @@ install_all() {
257257
258258 printf ' \n%b\n' " ${COLOR_CYAN} *** Build results ***${COLOR_END} "
259259
260- if [ " ${FAILED_BUILDS#* amuse-mesa-r15140} " != " ${FAILED_BUILDS} " ] ; then
260+ UNEXPECTED_FAILED_BUILDS=$( printf ' %b' " ${FAILED_BUILDS} " | grep -v mesa-r15140)
261+ if [ " ${UNEXPECTED_FAILED_BUILDS} " != " ${FAILED_BUILDS} " ] ; then
261262 printf ' \n%b\n' " ${COLOR_RED} amuse-mesa-r15140 failed to install${COLOR_END} "
263+
262264 printf ' \nMESA r15140 failed to install because it can only be installed in\n'
263265 printf ' develop mode. This is expected, if unfortunate. Please use\n\n'
264266 printf ' ./setup develop amuse-mesa-r15140\n\n'
265267 printf ' to install it.\n\n'
266268
267- FAILED_BUILDS=" ${FAILED_BUILDS #* amuse-mesa-r15140 } "
269+ FAILED_BUILDS=" ${UNEXPECTED_FAILED_BUILDS } "
268270 fi
269271
270272 if [ " a${FAILED_BUILDS} " != " a" ] ; then
You can’t perform that action at this time.
0 commit comments