diff options
author | Jybz <j.biernacki+mga@free.fr> | 2020-12-14 12:35:54 +0100 |
---|---|---|
committer | Jybz <j.biernacki+mga@free.fr> | 2020-12-14 12:35:54 +0100 |
commit | bdffb942c7a62b2b160ee490653968f562a70e9f (patch) | |
tree | b56dd371a531528f77c96316f2e8add26ff7af63 /create_arm_image.sh | |
parent | 0715baf30e1917b11fc5a609c71847ad497c363d (diff) | |
download | mageia4arm-bdffb942c7a62b2b160ee490653968f562a70e9f.tar mageia4arm-bdffb942c7a62b2b160ee490653968f562a70e9f.tar.gz mageia4arm-bdffb942c7a62b2b160ee490653968f562a70e9f.tar.bz2 mageia4arm-bdffb942c7a62b2b160ee490653968f562a70e9f.tar.xz mageia4arm-bdffb942c7a62b2b160ee490653968f562a70e9f.zip |
Add environemnt checking function
Diffstat (limited to 'create_arm_image.sh')
-rwxr-xr-x | create_arm_image.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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}" |