From 238397876dc4b0a3cd8e88384bd8f54157009e66 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Mon, 28 Sep 2015 19:19:53 +0000 Subject: [PATCH] Append VMFORMATS and VMSIZE to RELEASE_RMAKEFLAGS only if WITH_VMIMAGES is set. MFC after: 3 days X-MFC-With: r288341, r288345 Sponsored by: The FreeBSD Foundation --- release/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/release.sh b/release/release.sh index 43c03ce00c7f..e16842204080 100755 --- a/release/release.sh +++ b/release/release.sh @@ -320,9 +320,9 @@ chroot_build_release() { VMSIZE="$(eval chroot ${CHROOTDIR} \ make -C /usr/src/release -V VMSIZE)" fi + RELEASE_RMAKEFLAGS="${RELEASE_RMAKEFLAGS} \ + VMFORMATS=\"${VMFORMATS}\" VMSIZE=${VMSIZE}" fi - RELEASE_RMAKEFLAGS="${RELEASE_RMAKEFLAGS} VMFORMATS=\"${VMFORMATS}\" \ - VMSIZE=${VMSIZE}" eval chroot ${CHROOTDIR} make -C /usr/src/release \ ${RELEASE_RMAKEFLAGS} release eval chroot ${CHROOTDIR} make -C /usr/src/release \