From 05a3905eb0cf84acc8eb20d6020c3dda8c78fc23 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 6 Jan 2018 14:29:03 -0800 Subject: [PATCH] Give an initial value to pkg_list. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6425704..c77d33f 100755 --- a/install.sh +++ b/install.sh @@ -203,7 +203,7 @@ function run_as_root { function install_pkg_set { local pkg_file=${BASEDIR}/${1} - local pkg_list + local pkg_list="" if [[ ! -f ${pkg_file} ]] ; then return 0 ; fi cat ${pkg_file} | while read line ; do if [[ ${line:0:1} == '#' ]] ; then