[blog] 01/01: bin/publish.sh: Still parse correctly even if someone wordwraps the file.

Chris Lamb chris at chris-lamb.co.uk
Tue Oct 17 22:15:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository blog.

commit 75d903411eb9bbed41b995ef58541e0e7d70a075
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Oct 17 18:15:31 2017 -0400

    bin/publish.sh: Still parse correctly even if someone wordwraps the file.
---
 bin/publish.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/publish.sh b/bin/publish.sh
index 96e8ba9..3698776 100755
--- a/bin/publish.sh
+++ b/bin/publish.sh
@@ -119,4 +119,4 @@ echo "Now verify the results and run git push && git push --tags."
 echo
 echo "After publishing consider Tweeting via:"
 echo
-echo "  %tweet What happened in the @ReproBuilds effort between $(sed -n -e 's at .* effort between \(.*\):@\1 at p' $POST): https://reproducible.alioth.debian.org/blog/posts/$WEEK/"
+echo "  %tweet What happened in the @ReproBuilds effort between $(tr '\n' ' ' < $POST | sed -n -e 's at .* effort between \([^:]*\):.*@\1 at p'): https://reproducible.alioth.debian.org/blog/posts/$WEEK/"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/blog.git



More information about the Reproducible-commits mailing list