|
From: openocd-gerrit <ope...@us...> - 2023-12-24 14:27:55
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 492dc7c537d5685e5e6d41757b73eea2365b96ee (commit)
from 49489747d26d4dcd679fb16afec61d90d7ca3586 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 492dc7c537d5685e5e6d41757b73eea2365b96ee
Author: Antonio Borneo <bor...@gm...>
Date: Thu Dec 14 22:05:52 2023 +0100
helper/bin2char: drop trailing empty line
For unknown reasons, the coreutils tool 'od' on MacOS outputs an
extra empty line, which appears in the new auto-generated files.
Modify the script bin2char.sh to drop every empty line.
Change-Id: Id835fecadb58ad4ddfc11ef9f9a2e8d75c5dffe9
Signed-off-by: Antonio Borneo <bor...@gm...>
Reviewed-on: https://review.openocd.org/c/openocd/+/8051
Reviewed-by: Erhan Kurubas <erh...@es...>
Tested-by: jenkins
Reviewed-by: Henrik Nordström <hen...@ad...>
diff --git a/src/helper/bin2char.sh b/src/helper/bin2char.sh
index b89433d86..cf94bee29 100755
--- a/src/helper/bin2char.sh
+++ b/src/helper/bin2char.sh
@@ -12,4 +12,4 @@
}
echo "/* Autogenerated with $0 */"
-od -v -A n -t x1 | sed 's/ *\(..\) */0x\1,/g'
+od -v -A n -t x1 | sed 's/ *\(..\) */0x\1,/g;/^$/d'
-----------------------------------------------------------------------
Summary of changes:
src/helper/bin2char.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Main OpenOCD repository
|