From ddc9dc7e586d6526f32153cd99d0d0a38a7b01f5 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 2 Jul 2006 13:16:48 +0000 Subject: environment was not being passed correctly to subtargets, see http://lists.freebsd.org/pipermail/freebsd-current/2004-August/034574.html. Thanks go to Simon L. Nielsen. --- ezjail-admin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ezjail-admin b/ezjail-admin index 6a4b91d..51df80f 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -494,8 +494,8 @@ setup|update) mkdir -p ${ezjail_jailfull} || exerr "Cannot create temporary Jail directory." # make and setup our world, then split basejail and newjail - cd ${ezjail_sourcetree} && make ${ezjail_installaction} DESTDIR=${ezjail_jailfull} || exerr "make ${ezjail_installaction} failed." - cd ${ezjail_sourcetree}/etc && make distribution DESTDIR=${ezjail_jailfull} || exerr "make distribution failed." + cd ${ezjail_sourcetree} && env DESTDIR=${ezjail_jailfull} make ${ezjail_installaction} || exerr "make ${ezjail_installaction} failed." + cd ${ezjail_sourcetree}/etc && env DESTDIR=${ezjail_jailfull} make distribution || exerr "make distribution failed." ezjail_splitworld fi # installaction="none" -- cgit v1.2.3