Apparently nonzero exit status is now a problem, fair enough; so, be more explicit about reruns of mvm

This commit is contained in:
Tony Garnock-Jones 2022-01-06 12:12:29 +01:00
parent 677af29689
commit 284a3ade0c
1 changed files with 10 additions and 2 deletions

View File

@ -26,8 +26,16 @@ build() {
;;
esac
cd squeak.cog.spur/build
echo y | ./mvm
echo n | ./mvm
echo Running initial build
(echo y | ./mvm > log.initial-build 2>&1) || true
nn=0
echo Checking to see if ./squeak exists and is executable...
while [ ! -x ./squeak ]
do
echo Running subsequent build $nn
echo n | ./mvm > log.$nn 2>&1
nn=$((nn+1))
done
}
package() {