build.mk: fix build without APTCONF parameter

This commit is contained in:
Anton Midyukov 2021-08-13 23:16:40 +07:00
parent 822820c3ea
commit 6a85e7213f

View File

@ -61,7 +61,8 @@ make-aptbox:
@mkdir -p $(BUILDDIR)/.work/pkgbox; \
mkdir -p $(BUILDDIR)/.work/.cache; \
mkdir -p $(BUILDDIR)/.work/.out; \
mkaptbox --without-stuff --target=$(ARCH) --apt-config=$(wildcard $(APTCONF)) -- $(BUILDDIR)/.work/pkgbox
APTCONF=$(wildcard $(APTCONF)); \
mkaptbox --without-stuff --target=$(ARCH) $${APTCONF:+--apt-config=$$APTCONF} -- $(BUILDDIR)/.work/pkgbox
# actual build starter
# NB: our output MUST go into stderr to escape POSTPROC