prepare-root.sh: remove OUTDIR before creating it

This commit is contained in:
Harald Hoyer 2018-11-12 08:56:13 +01:00
parent 99a43dc11c
commit 0a4bec3c02

View file

@ -899,6 +899,7 @@ if ! [[ $EFISTUB ]]; then
fi fi
fi fi
[[ -e "$OUTDIR" ]] && rm -fr "$OUTDIR"
mkdir -p "$OUTDIR" mkdir -p "$OUTDIR"
mv "$MY_TMPDIR"/root.img \ mv "$MY_TMPDIR"/root.img \
"$sysroot"/usr/efi \ "$sysroot"/usr/efi \