diff --git a/usr/lib/archboot/container.sh b/usr/lib/archboot/container.sh index d3fa3ac07..74a48d76b 100644 --- a/usr/lib/archboot/container.sh +++ b/usr/lib/archboot/container.sh @@ -90,7 +90,7 @@ _clean_mkinitcpio() { _prepare_pacman() { # prepare pacman dirs echo "Creating directories in ${1}..." - mkdir -p "${1}"${_PACMAN_LIB}"" + mkdir -p "${1}${_PACMAN_LIB}" mkdir -p "${1}/${_CACHEDIR}" [[ -e "${1}/proc" ]] || mkdir -m 555 "${1}/proc" [[ -e "${1}/sys" ]] || mkdir -m 555 "${1}/sys" diff --git a/usr/lib/archboot/release.sh b/usr/lib/archboot/release.sh index fd68b085d..70e5162d0 100644 --- a/usr/lib/archboot/release.sh +++ b/usr/lib/archboot/release.sh @@ -154,7 +154,7 @@ _create_iso() { echo "Systemd:$(${_NSPAWN} "${_W_DIR}" pacman -Qi systemd | grep Version | cut -d ":" -f2 | sed -e "s/\r//g" -e "s/\x1b\[[0-9;]*m//g")";\ echo "";\ echo "---Complete Package List---";\ - $(${_NSPAWN} "${_W_DIR}" pacman -Q | sed -e "s/\r//g" -e "s/\x1b\[[0-9;]*m//g" -e "s/\x1b\[.*[0-9][h;l]//g")) >>Release.txt + ${_NSPAWN} "${_W_DIR}" pacman -Q | sed -e "s/\r//g" -e "s/\x1b\[[0-9;]*m//g" -e "s/\x1b\[.*[0-9][h;l]//g") >>Release.txt # removing container echo "Removing container ${_W_DIR}..." rm -r "${_W_DIR}"