OSDN Git Service

[fix] : Fixed typo.
authorhayao <shun819.mail@gmail.com>
Sat, 27 Jun 2020 13:33:09 +0000 (22:33 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 27 Jun 2020 13:33:09 +0000 (22:33 +0900)
build.sh

index 2db3b06..7390575 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -712,7 +712,7 @@ make_packages() {
     #-- Read package list --#
     # Read the file and remove comments starting with # and add it to the list of packages to install.
     for _file in ${_loadfilelist[@]}; do
-        if [[ -f "${file}" ]]; then
+        if [[ -f "${_file}" ]]; then
             _msg_debug "Loaded package file ${_file}."
             pkglist=( ${pkglist[@]} "$(grep -h -v ^'#' ${_file})" )
         fi