mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
tools: zynqmp_psu_init_minimize: Use CR instead of LF
Use carriage return instead of line feed to support mangling across lines. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Link: https://lore.kernel.org/r/20220620163650.18756-13-stefan.herbrechtsmeier-oss@weidmueller.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
2f799b4fbc
commit
4d8f2bb151
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ tr "\n" "\r" <${OUT} >${TMP}
|
|||
# | | ==> |while (e)|
|
||||
# | } | | ; |
|
||||
# | |
|
||||
sed -i -r 's| \{\r+(\t*)\}\r\r|\n\1\t;\n|g' ${TMP}
|
||||
sed -i -r 's| \{\r+(\t*)\}\r\r|\r\1\t;\r|g' ${TMP}
|
||||
|
||||
# Remove empty line between variable declaration
|
||||
sed -i -r 's|\r(\r\t(unsigned )?int )|\1|g' ${TMP}
|
||||
|
|
Loading…
Add table
Reference in a new issue