fix: build: Only touch builder sentinel on success

This commit is contained in:
Martin Kennedy 2022-05-24 17:04:11 -04:00
parent e0b62e4b47
commit 0ce4a46d65

View File

@ -43,5 +43,4 @@ ${docker_src}/built/openwrt-builder-%.sentinel: \
else \
commit=$(shell echo $*); \
docker build -f $< --build-arg=commit="$$commit" --tag openwrt-builder-$* . ; \
fi; \
touch $@;
fi && touch $@;