]> git.codecow.com Git - Monocypher.git/commitdiff
Remove last blank lines from tarball README.md
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 12 Mar 2023 20:59:59 +0000 (21:59 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 12 Mar 2023 20:59:59 +0000 (21:59 +0100)
dist.sh

diff --git a/dist.sh b/dist.sh
index 46972d99c060c003878e2116eecfe4cf6f9911a8..d0db2ffc674afa0cb8439163da61c5bf54a8a54f 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -80,13 +80,12 @@ sed -i 's| doc/man3/intro.3monocypher||'                $FOLDER/makefile
 sed -i 's|rm -rf lib/ doc/html/ doc/man3/|rm -rf lib/|' $FOLDER/makefile
 
 # Remove contributor notes from the README
-sed -e '/Contributor notes/,$d' \
-    -e '1,/^---$/d' \
-    -i $FOLDER/README.md
+sed -e '/Contributor notes/,$d'  -e '1,/^---$/d' -i $FOLDER/README.md
+sed -e '$d'                                      -i $FOLDER/README.md
+sed -e '$d'                                      -i $FOLDER/README.md
 sed -e '1i\
 Monocypher\
-----------' \
-    -i $FOLDER/README.md
+----------'                                      -i $FOLDER/README.md
 
 # Remove special notes from the LICENCE
 sed -e '/Special notes/,$d' -i $FOLDER/LICENCE.md