From c784ea71b5d631b60b8d50966414b9bc858ebda6 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 10 Jan 2023 04:06:22 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix=20trailing=20space=20in=20pa?= =?UTF-8?q?th=20label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9954b28d9f..bfd9a68adf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -90,7 +90,7 @@ jobs: find . -name "Conf*.h" -print0 | while read -d $'\0' fn ; do fldr=$(dirname "$fn" | sed "s/^\.\///") blank_line=$(awk '/^\s*$/ {print NR; exit}' "$fn") - sed -i~ "${blank_line}i\\\n#define CONFIG_EXAMPLES_DIR \"$fldr\"\\ " "$fn" + sed -i~ "${blank_line}i\\\n#define CONFIG_EXAMPLES_DIR \"$fldr\"" "$fn" rm -f "$fn~" done cd -