Properly evaluate XZ_CMD from the chroot.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-03-02 18:10:58 +00:00
parent 54eb0be231
commit ff9b6b61e6

View File

@ -99,7 +99,7 @@ main() {
BRANCH=$(chroot ${CHROOTDIR} make -C /usr/src/release -V BRANCH)
UNAME_r=${REVISION}-${BRANCH}
export UNAME_r
export XZ_CMD=$(make -C /usr/src/release -V XZ_CMD)
export XZ_CMD=$(chroot ${CHROOTDIR} make -C /usr/src/release -V XZ_CMD)
# Build the 'xdev' target for crochet.
eval chroot ${CHROOTDIR} make -C /usr/src \