OSDN Git Service

[fix] : Fixed locale check
authorhayao <shun819.mail@gmail.com>
Tue, 27 Oct 2020 12:08:11 +0000 (21:08 +0900)
committerhayao <shun819.mail@gmail.com>
Tue, 27 Oct 2020 12:08:11 +0000 (21:08 +0900)
allarch.sh
build.sh

index 31459c1..ef7d8be 100755 (executable)
@@ -1191,7 +1191,7 @@ make_iso() {
 
 # Parse files
 parse_files() {
-    eval $(bash "${script_path}/tools/locale.sh" -a "${arch}" get "${kernel}")
+    eval $(bash "${script_path}/tools/locale.sh" -a "${arch}" get "${locale_name}")
     eval $(bash "${script_path}/tools/kernel.sh" -a "${arch}" get "${kernel}")
 }
 
index b0333a7..5a68cb5 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1250,7 +1250,7 @@ make_iso() {
 
 # Parse files
 parse_files() {
-    eval $(bash "${script_path}/tools/locale.sh" -a "${arch}" get "${kernel}")
+    eval $(bash "${script_path}/tools/locale.sh" -a "${arch}" get "${locale_name}")
     eval $(bash "${script_path}/tools/kernel.sh" -a "${arch}" get "${kernel}")
 }