some cleanup

This commit is contained in:
udeved 2015-01-08 17:50:33 +01:00
parent 638bf7f369
commit ae2095e642

View file

@ -172,9 +172,7 @@ _mkchroot(){
command_create () { command_create () {
mkdir -p "${work_dir}/iso/${INSTALL_DIR}/${ARCH}" mkdir -p "${work_dir}/iso/${INSTALL_DIR}/${ARCH}"
if [ ! -z "${PKGLIST}" ]; then [[ -n "${PKGLIST}" ]] && _mkchroot "${PKGLIST}"
_mkchroot "${PKGLIST}" #|| die "Failed to create chroot."
fi
clean_up clean_up
} }