make: when mfc aborts clear it and switch back

This commit is contained in:
Franco Fichtner 2021-03-26 08:39:54 +01:00 committed by Ad Schellevis
parent 9d099c7177
commit eefb5301e6

View File

@ -449,7 +449,9 @@ mfc: ensure-stable clean-mfcdir
fi
.else
@git checkout stable/${CORE_ABI}
@git cherry-pick -x ${MFC}
@if ! git cherry-pick -x ${MFC}; then \
git cherry-pick --abort; \
fi
.endif
@git checkout master
.endfor