From 120c6d7f8ce12603d8b09d5e65d020ab3157c528 Mon Sep 17 00:00:00 2001 From: hayao Date: Wed, 25 Aug 2021 17:07:41 +0900 Subject: [PATCH] [fix] : Fixed alteriso-info file --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 434f7005..07b324a0 100755 --- a/build.sh +++ b/build.sh @@ -993,9 +993,9 @@ make_alteriso_info(){ # iso version info if [[ "${include_info}" = true ]]; then local _info_file="${isofs_dir}/alteriso-info" _version="${iso_version}" - #remove "${_info_file}"; touch "${_info_file}" + remove "${_info_file}"; touch "${_info_file}" [[ -d "${script_path}/.git" ]] && [[ "${gitversion}" = false ]] && _version="${iso_version}-${gitrev}" - "${tools_dir}/alteriso-info.sh" -a "${arch}" -b "${boot_splash}" -c "${channel_name%.add}" -d "${iso_publisher}" -k "${kernel}" -o "${os_name}" -p "${password}" -u "${username}" -v "${_version}" -m "$(printf "%s," "${modules[@]}")" + "${tools_dir}/alteriso-info.sh" -a "${arch}" -b "${boot_splash}" -c "${channel_name%.add}" -d "${iso_publisher}" -k "${kernel}" -o "${os_name}" -p "${password}" -u "${username}" -v "${_version}" -m "$(printf "%s," "${modules[@]}")" > "${_info_file}" fi return 0 -- 2.11.0