diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2022-06-20 18:36:48 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-06-24 14:37:27 +0200 |
commit | 4d8f2bb151fbe9aa632050aca670c18ac5d96fbe (patch) | |
tree | 5c71e3018d0d21584d4d644cb56c2929b54cf457 | |
parent | 2f799b4fbc5be867842a57054a922fbeb0b690d5 (diff) | |
download | u-boot-4d8f2bb151fbe9aa632050aca670c18ac5d96fbe.zip u-boot-4d8f2bb151fbe9aa632050aca670c18ac5d96fbe.tar.gz u-boot-4d8f2bb151fbe9aa632050aca670c18ac5d96fbe.tar.bz2 |
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>
-rwxr-xr-x | tools/zynqmp_psu_init_minimize.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/zynqmp_psu_init_minimize.sh b/tools/zynqmp_psu_init_minimize.sh index 31fbeac..c0a7a89 100755 --- a/tools/zynqmp_psu_init_minimize.sh +++ b/tools/zynqmp_psu_init_minimize.sh @@ -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} |