Explorar el Código

strip newlines from date call

new-build-system
Jan Lehnardt hace 14 años
padre
commit
f0cdf2d171
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile Ver fichero

@@ -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


Cargando…
Cancelar
Guardar