manibuilder: Set $(TEST_REVISION) default in make

Change-Id: I8320110a19c434b6d464d8036cc2a99fff41f63e
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/70908
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: Nico Huber <nico.h@gmx.de>
diff --git a/util/manibuilder/Makefile b/util/manibuilder/Makefile
index 98ed30c..c4f9333 100644
--- a/util/manibuilder/Makefile
+++ b/util/manibuilder/Makefile
@@ -49,6 +49,7 @@
 $(filter %-xenial %-stretch,$(MULTIARCH_TAGS)): MAKEARGS+=CONFIG_JLINK_SPI=no
 $(filter centos%,$(MULTIARCH_TAGS)): MAKEARGS+=WARNERROR=no
 $(ALL_TAGS): export QUIET_SETUP=$(QUIET_TEST)
+$(ALL_TAGS): export TEST_REVISION?=master
 $(ALL_TAGS): %: %-check-build
 	$(QUIET_TEST)docker rm -f mani_$(call ident,$*) >/dev/null 2>&1 || true
 	$(QUIET_TEST)\
@@ -56,7 +57,7 @@
 		--env IDENT=$(call ident,$*) \
 		--volume manicache:/home/mani/.ccache \
 		--name mani_$(call ident,$*) mani/$* \
-		"git fetch origin $${TEST_REVISION:-master} && \
+		"git fetch origin $(TEST_REVISION) && \
 		 git checkout FETCH_HEAD && \
 		 $(MAKECMD) clean && $(MAKECMD) -j$${CPUS:-1} CC='$(CC)' \
 		 $(if $(STRIP),STRIP='$(STRIP)') \