From d1c7941fe00ee62a0ca56d4ec49b6ae79d5a5c71 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 23 Feb 2024 18:41:53 +0100 Subject: [PATCH] fix --- RESOURCES/helpers/utils.sh | 3 +++ patch.sh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RESOURCES/helpers/utils.sh b/RESOURCES/helpers/utils.sh index c3621df..1500ca1 100644 --- a/RESOURCES/helpers/utils.sh +++ b/RESOURCES/helpers/utils.sh @@ -49,3 +49,6 @@ check_tools() { echo -e "${GREEN}SUCCESS: All tools are available${NC}" } + +export -f check_tools +export RED GREEN YELLOW PURPLE NC FW_DIR OPTIONS_DIR KEYS_DIR TEMP_DIR TOOLS_DIR ROOTFS_DIR diff --git a/patch.sh b/patch.sh index 4f516e9..0ad23b2 100755 --- a/patch.sh +++ b/patch.sh @@ -27,9 +27,6 @@ fi check_tools "awk head sed" -export project_root ROOTFS_DIR OPTIONS_DIR KEYS_DIR FW_DIR TEMP_DIR -export -f check_tools - # remove the old result file for the installed options rm -f "$installed_options"