From 40e5a57a418ffbbf0c1451b311f2fd6a7b52ae6e Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sun, 12 Dec 2021 19:14:54 +0100 Subject: [PATCH] Let's not unset environment variables within the script --- lib/image-helpers.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/image-helpers.sh b/lib/image-helpers.sh index c0df18f413..bdad352e47 100644 --- a/lib/image-helpers.sh +++ b/lib/image-helpers.sh @@ -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