Skip to content

Commit 84eb348

Browse files
authored
Merge pull request #2282 from CyberShadow/pull-20180319-195126
posix.mak: dblog_latest parsing hotfix
2 parents cff447d + 5756d01 commit 84eb348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posix.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ $G/dblog_latest.html:
598598

599599
$G/dblog_latest.ddoc: $G/dblog_latest.html
600600
cat $< | grep -m1 'entry-title' | \
601-
sed -E 's/^.*<a href="(.+)" rel="bookmark">([^<]+)<\/a>.*<time.*datetime="[^"]+">([^<]*)<\/time><time class="updated".*Author *<\/span><a [^>]+>([^<]+)<\/a>.*/DBLOG_LATEST_TITLE=\2|DBLOG_LATEST_LINK=\1|DBLOG_LATEST_DATE=\3|DBLOG_LATEST_AUTHOR=\4/' | \
601+
sed -E 's/^.*<a href="(.+)" rel="bookmark">([^<]+)<\/a>.*<time.*datetime="[^"]+">([^<]*)<\/time>.*Author *<\/span><a [^>]+>([^<]+)<\/a>.*/DBLOG_LATEST_TITLE=\2|DBLOG_LATEST_LINK=\1|DBLOG_LATEST_DATE=\3|DBLOG_LATEST_AUTHOR=\4/' | \
602602
tr '|' '\n' > $@
603603
@if [ ! -s $@ ] ; then echo "$@ is empty. Please check the download"; rm -f $@; exit 1 ; fi
604604
cat $< | grep -m2 'entry-title' | tail -n1 | \

0 commit comments

Comments
 (0)