From 039494e11540c963e7b804e7b4eecbef87d5eaa0 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Sat, 11 Apr 2020 21:38:53 +0200 Subject: defaults/initrd.scripts: ignore SC2045 Signed-off-by: Thomas Deutschmann --- defaults/linuxrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'defaults/linuxrc') diff --git a/defaults/linuxrc b/defaults/linuxrc index b3e1740..964a932 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -1133,6 +1133,7 @@ FSTAB then if [ -e "${CDROOT_PATH}/add" ] then + # shellcheck disable=SC2045 for targz in $(ls ${CDROOT_PATH}/add/*.tar.gz) do tarname=$(basename ${targz}) @@ -1188,6 +1189,7 @@ FSTAB if [ -e "/${NEW_ROOT}/${directory}" ] then # It does exist, link all the individual files + # shellcheck disable=SC2045 for file in $(ls /${NEW_ROOT}/${FS_LOCATION}/${directory}) do if [ ! -d "/${NEW_ROOT}/${FS_LOCATION}/${directory}/${file}" ] && [ ! -e "${NEW_ROOT}/${directory}/${file}" ] -- cgit v1.2.3-65-gdbad