@@ -130,7 +130,7 @@ if test -n "${ZIP_SHORT_COMMIT_ID?}"; then
130130fi
131131
132132if test " ${OPENSOURCE_ONLY:? } " ! = ' false' ; then
133- if ! conf_is_oss_only_build_enabled ; then
133+ if ! is_oss_only_build_enabled ; then
134134 echo ' WARNING: The OSS only build is disabled'
135135 set_title ' OSS only build is disabled'
136136
@@ -222,15 +222,15 @@ FILENAME_EXT='.zip'
222222# Download and verify external application files to ensure package integrity; bundled files will be verified at a later stage
223223{
224224 if test " ${OPENSOURCE_ONLY:? } " = ' false' ; then
225- current_dl_list=" $( conf_full_files_to_download ) " || ui_error ' Missing download list' " ${LINENO-} " " ${FUNCNAME-} "
225+ current_dl_list=" $( files_to_download ) " || ui_error ' Missing download list' " ${LINENO-} " " ${FUNCNAME-} "
226226 dl_list " ${current_dl_list?} " || ui_error ' Failed to download the necessary files' " ${LINENO-} " " ${FUNCNAME-} "
227227
228228 dl_file ' misc/keycheck' ' keycheck-arm.bin' ' 2e348074961b78c2cf9e8728910ce7c9596f195a6344ead35e536ccebe18df76' ' github.com/someone755/kerneller/raw/9bb15ca2e73e8b81e412d595b52a176bdeb7c70a/extract/tools/keycheck' ' '
229229 else
230230 echo ' Skipped not OSS files!'
231231 fi
232232
233- current_dl_list=" $( conf_oss_files_to_download ) " || ui_error ' Missing download list' " ${LINENO-} " " ${FUNCNAME-} "
233+ current_dl_list=" $( oss_files_to_download ) " || ui_error ' Missing download list' " ${LINENO-} " " ${FUNCNAME-} "
234234 dl_list " ${current_dl_list?} " || ui_error ' Failed to download the necessary files' " ${LINENO-} " " ${FUNCNAME-} "
235235
236236 clear_dl_temp_dir || ui_error ' Failed to remove the DL temp dir' " ${LINENO-} " " ${FUNCNAME-} "
@@ -277,7 +277,7 @@ if test -e "${TEMP_DIR:?}/zip-content/origin/file-list.dat"; then
277277fi
278278
279279if test " ${OPENSOURCE_ONLY:? } " = ' false' ; then
280- conf_full_files_to_download | while IFS=' |' read -r LOCAL_FILENAME LOCAL_PATH MIN_API MAX_API FINAL_FILENAME INTERNAL_NAME FILE_HASH _; do
280+ files_to_download | while IFS=' |' read -r LOCAL_FILENAME LOCAL_PATH MIN_API MAX_API FINAL_FILENAME INTERNAL_NAME FILE_HASH _; do
281281 mkdir -p -- " ${TEMP_DIR:? } /zip-content/origin/${LOCAL_PATH:? } "
282282 cp -f -- " ${BUILD_CACHE_DIR:? } /${LOCAL_PATH:? } /${LOCAL_FILENAME:? } .apk" " ${TEMP_DIR:? } /zip-content/origin/${LOCAL_PATH:? } /" || ui_error " Failed to copy to the temp dir the file => '${LOCAL_PATH} /${LOCAL_FILENAME} .apk'" " ${LINENO-} " " ${FUNCNAME-} "
283283
0 commit comments