Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2020-06-19 09:24:11 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2020-06-19 09:24:24 +0300
commit107cd0ed7558e6e8cfaaeaac7ef080bd8e3e14db (patch)
tree18977234fa92412725dc56b069dfa9ead505f7b1 /tools
parentcfec28a0251379d3dee1be5072d4c545cff740d3 (diff)
Windows packaging: fix newline conversion error
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_windows_package.sh2
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" )