From bdffb942c7a62b2b160ee490653968f562a70e9f Mon Sep 17 00:00:00 2001 From: Jybz Date: Mon, 14 Dec 2020 12:35:54 +0100 Subject: Add environemnt checking function --- create_arm_image.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'create_arm_image.sh') diff --git a/create_arm_image.sh b/create_arm_image.sh index 5a46a69..75b243c 100755 --- a/create_arm_image.sh +++ b/create_arm_image.sh @@ -321,6 +321,8 @@ print_info "Firmware path : ${FIRMWARE_PATH}" print_info "Firmware dir : ${FIRMWARE_DIR}" print_info "Installation method : ${INSTALL_METHOD}" +check_environment + # change dir to install path and create it if not existing if [ "${OPT}" != "clean" ]; then print_info "cd ${INSTALL_PATH}" -- cgit v1.2.1