diff --git a/toCOPY/lst_utils.sh b/toCOPY/lst_utils.sh index a3bb86c3..e6a7aee3 100644 --- a/toCOPY/lst_utils.sh +++ b/toCOPY/lst_utils.sh @@ -55,7 +55,7 @@ merge_lst () { # Grep to ignore empty lines or whole line comments. # Sed to drop any trailing comments. # Side effect of grep over cat is adding any missing EOL. - layers=$(grep -h -v -e '^$' -e '^[ \t]*#' ${layer_cfgs} | sed -e 's/[ \t]*#.*$//'} | sort --unique) + layers=$(grep -h -v -e '^$' -e '^[ \t]*#' ${layer_cfgs} | sed -e 's/[ \t]*#.*$//' | sort --unique) layers+=" mock" (