---
 targets/grp/grp-chroot.sh               | 3 +--
 targets/netboot2/netboot2-controller.sh | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/targets/grp/grp-chroot.sh b/targets/grp/grp-chroot.sh
index 6690c91..5b56fff 100755
--- a/targets/grp/grp-chroot.sh
+++ b/targets/grp/grp-chroot.sh
@@ -5,8 +5,7 @@ source /tmp/chroot-functions.sh
 ## START BUILD
 setup_pkgmgr
 
-export DISTDIR="/tmp/grp/${clst_grp_target}"
-export PKGDIR="/tmp/grp/${clst_grp_target}"
+export {DISTDIR,PKGDIR}="/tmp/grp/${clst_grp_target}"
 
 if [ "${clst_grp_type}" = "pkgset" ]
 then
diff --git a/targets/netboot2/netboot2-controller.sh 
b/targets/netboot2/netboot2-controller.sh
index 322d9a8..3bf4982 100755
--- a/targets/netboot2/netboot2-controller.sh
+++ b/targets/netboot2/netboot2-controller.sh
@@ -39,8 +39,7 @@ case ${1} in
 
                exec_in_chroot ${clst_shdir}/support/kmerge.sh
 
-               delete_from_chroot tmp/linuxrc
-               delete_from_chroot tmp/busy-config
+               delete_from_chroot tmp/{linuxrc,busy-config}
 
                extract_modules ${clst_chroot_path} ${clst_kname}
                #16:12 <@solar> kernel_name=foo
-- 
2.10.2


Reply via email to