Text files in zip dists should be DOS format

This commit is contained in:
Jakob Borg 2014-05-28 19:28:17 +02:00
parent 98622ca4d0
commit 2d9a822ed7

View File

@ -60,7 +60,10 @@ zipDist() {
name="$1"
rm -rf "$name"
mkdir -p "$name"
cp syncthing.exe "${distFiles[@]}" "$name"
for f in "${distFiles[@]}" ; do
sed 's/$/ /' < "$f" > "$name/$f.txt"
done
cp syncthing.exe "$name"
sign "$name/syncthing.exe"
zip -r "$name.zip" "$name"
rm -rf "$name"