Source chroot-out, after running chroot

This commit is contained in:
Fierelier 2023-04-09 09:11:56 +02:00
parent e3300c0dbd
commit b5214af525
1 changed files with 7 additions and 1 deletions

View File

@ -11,4 +11,10 @@ fi
if [ -f "$2/chroot" ]; then
wdvn-chroot "$2" "/chroot"
rm "$2/chroot"
fi
fi
if [ -f "$2/chroot-out" ]; then
source "$2/chroot-out"
rm "$2/chroot-out"
fi