aboutsummaryrefslogtreecommitdiff
path: root/www/index.sh
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-07-11 00:39:37 +0000
committerGogs <gogitservice@gmail.com>2017-07-11 00:39:37 +0000
commit0716982cf7377db740d26e9a1f234b7ffa6b708d (patch)
tree5f9cbc546b1b9de8887e17321facff4383a8e24b /www/index.sh
parentc41354732a1e863be0dfc62218f29df81479c151 (diff)
parentbfc86546849e15dd98362852e76fa9feac2fba77 (diff)
downloadlibrebootfr-0716982cf7377db740d26e9a1f234b7ffa6b708d.tar.gz
librebootfr-0716982cf7377db740d26e9a1f234b7ffa6b708d.zip
Merge branch 'fix-touch' of mreed/libreboot into master
Diffstat (limited to 'www/index.sh')
-rwxr-xr-xwww/index.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/www/index.sh b/www/index.sh
index 4d7d2292..9b6bd7f0 100755
--- a/www/index.sh
+++ b/www/index.sh
@@ -37,13 +37,12 @@ meta() {
# generate the index file
-FILES=$(ls -1 -t news/*.md | sed -e s-.*index.md-- -e s-.*presentation.md--)
+FILES=$(ls -r1 news/*.md | sed -e s-.*index.md-- -e s-.*presentation.md--)
cat news-list.md > news/index.md
for f in $FILES
do
- touch -d "$(sed -n 3p $f | sed -e 's/^..//g')" $f
meta >> news/index.md
done