OSDN Git Service

[fix] : Change order and fix indent
authorhayao <shun819.mail@gmail.com>
Mon, 24 Aug 2020 06:09:58 +0000 (15:09 +0900)
committerhayao <shun819.mail@gmail.com>
Mon, 24 Aug 2020 06:09:58 +0000 (15:09 +0900)
build.sh

index ffafe93..0d341d9 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1249,13 +1249,14 @@ make_prepare() {
             echo "${@}" >> "${_info_file}"
         }
         rm -rf "${_info_file}"; touch "${_info_file}"
+
+        _write_info_file "Created by ${iso_publisher}"
         _write_info_file "${iso_application} ${arch}"
         if [[ -d "${script_path}/.git" ]] && [[ "${gitversion}" = false ]]; then
-            _write_info_file "       Version: ${iso_version}-$(git rev-parse --short HEAD)"
+            _write_info_file "Version   : ${iso_version}-$(git rev-parse --short HEAD)"
         else
-            _write_info_file "       Version: ${iso_application} ${arch} ${iso_version}"
+        _write_info_file "Version       : ${iso_version}"
         fi
-        _write_info_file "Created by ${iso_publisher}"
         _write_info_file "Channel   name: ${channel_name}"
         _write_info_file "Live user name: ${username}"
         _write_info_file "Live user pass: ${password}"