File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,14 @@ log()
3838 print ${(% )DATE_FMT_NICE} " build-mpich.sh:" ${* }
3939}
4040
41- # Assume failure in prior runs and this run until proven otherwise
41+ # Load any prior exit status codes
4242if [[ -f status-old.txt ]] {
4343 read STATUS_OLD < status-old.txt
4444 log " prior STATUS_OLD=$STATUS_OLD "
4545} else {
4646 STATUS_OLD=-1
4747}
4848
49- if (( $STATUS_OLD != 1 )) echo 1 > status-old.txt
50-
5149# Look at timestamps left by previous runs and see if git has changed
5250GIT_CHANGED=1
5351log " New timestamp:"
@@ -69,6 +67,9 @@ if (( ! GIT_CHANGED )) {
6967}
7068print
7169
70+ # Assume this run will fail:
71+ if (( $STATUS_OLD != 1 )) echo 1 > status-old.txt
72+
7273# Define and reset the settings file:
7374SETTINGS=dev/build/swift-t-settings.sh
7475rm -fv $SETTINGS
You can’t perform that action at this time.
0 commit comments