diff options
author | Leah Rowe <info@minifree.org> | 2017-07-11 00:39:37 +0000 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2017-07-11 00:39:37 +0000 |
commit | 0716982cf7377db740d26e9a1f234b7ffa6b708d (patch) | |
tree | 5f9cbc546b1b9de8887e17321facff4383a8e24b /www/index.sh | |
parent | c41354732a1e863be0dfc62218f29df81479c151 (diff) | |
parent | bfc86546849e15dd98362852e76fa9feac2fba77 (diff) | |
download | librebootfr-0716982cf7377db740d26e9a1f234b7ffa6b708d.tar.gz librebootfr-0716982cf7377db740d26e9a1f234b7ffa6b708d.zip |
Merge branch 'fix-touch' of mreed/libreboot into master
Diffstat (limited to 'www/index.sh')
-rwxr-xr-x | www/index.sh | 3 |
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 |