Let's not unset environment variables within the script

This commit is contained in:
Igor Pecovnik 2021-12-12 19:14:54 +01:00
parent 06c931c9c2
commit 40e5a57a41
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -84,7 +84,6 @@ unmount_on_exit()
umount_chroot "${SDCARD}/"
mountpoint -q "${SRC}"/cache/toolchain && umount -l "${SRC}"/cache/toolchain
mountpoint -q "${SRC}"/cache/rootfs && umount -l "${SRC}"/cache/rootfs
unset ARMBIAN_CACHE_TOOLCHAIN_PATH ARMBIAN_CACHE_ROOTFS_PATH
umount -l "${SDCARD}"/tmp >/dev/null 2>&1
umount -l "${SDCARD}" >/dev/null 2>&1
umount -l "${MOUNT}"/boot >/dev/null 2>&1