diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2020-06-19 09:24:11 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2020-06-19 09:24:24 +0300 |
commit | 107cd0ed7558e6e8cfaaeaac7ef080bd8e3e14db (patch) | |
tree | 18977234fa92412725dc56b069dfa9ead505f7b1 /tools | |
parent | cfec28a0251379d3dee1be5072d4c545cff740d3 (diff) |
Windows packaging: fix newline conversion error
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make_windows_package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make_windows_package.sh b/tools/make_windows_package.sh index e08435f..2da4e5e 100755 --- a/tools/make_windows_package.sh +++ b/tools/make_windows_package.sh @@ -38,7 +38,7 @@ cp $DEST/generator-bin/nanopb_generator.exe $DEST/generator-bin/protoc-gen-nanop # Convert line breaks for convenience find $DEST -name '*.c' -o -name '*.h' -o -name '*.txt' \ -o -name '*.proto' -o -name '*.py' -o -name '*.options' \ - -exec sed -i 's/[^\r]$/\r/' '{}' \; + -exec sed -i 's/$/\r/' '{}' \; # Zip it all up ( cd dist; rm -f $VERSION.zip; powershell "Compress-Archive $VERSION $VERSION.zip" ) |