From 7b5f3a45e663866a3c0ca3ca86eb3c92bc7f0210 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Wed, 5 May 2021 09:56:33 -0400 Subject: [PATCH] fix bad flockflock url pt 2 A stray '}' character found it's way into my prior update titled 'fix bad flockflock url' after testing. The result was the following error sed: -e expression #1, char 15: unexpected `}' This removes the unwanted '}', restoring the prior update to its intended form. Closes-bug: 1926987 Signed-off-by: Scott Little Change-Id: I48f4721ccaf121679916b01747243deedf5836cd --- toCOPY/lst_utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" (