Procházet zdrojové kódy

strip newlines from date call

new-build-system
Jan Lehnardt před 14 roky
rodič
revize
f0cdf2d171
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile Zobrazit soubor

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


Načítá se…
Zrušit
Uložit