Permalink
Browse files

strip newlines from date call

  • Loading branch information...
1 parent e27e4e1 commit f0cdf2d17186fcb48cf99cc3d7deb64b2d287b63 @janl committed Feb 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
@@ -42,9 +42,9 @@ build-wrappers:
# update gh-pages with release links & travis
# add $(version)/index.html page (from template)
- date=$(strip `date`)
+ reldate=$(strip `date`)
sed -e 's|%version%|$(version)|' \
- -e 's|%date%|$(date)' release-index.html > $(version)/index.html
+ -e 's|%date%|$(reldate)' release-index.html > $(version)/index.html
# update index.html to point to $(vesion)
cat index.html.pre > index.html

0 comments on commit f0cdf2d

Please sign in to comment.