mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
relase: get failed extract-vmlinux automation back working
Only the command is back in business, but it does not work: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/79
This commit is contained in:
@@ -50,7 +50,7 @@ from the README to example sources to GitHub rather than locally.
|
||||
for link in self.sh.check_output([
|
||||
os.path.join(asciidoctor_dir, 'extract-link-targets'),
|
||||
self.env['readme']
|
||||
]).splitlines():
|
||||
]).decode().splitlines():
|
||||
if not external_link_re.match(link):
|
||||
if not os.path.lexists(os.path.join(self.env['root_dir'], link)):
|
||||
self.log_error('broken link to local file: ' + link)
|
||||
@@ -63,7 +63,7 @@ from the README to example sources to GitHub rather than locally.
|
||||
for header_id in self.sh.check_output([
|
||||
os.path.join(asciidoctor_dir, 'extract-header-ids'),
|
||||
self.env['readme']
|
||||
]).splitlines():
|
||||
]).decode().splitlines():
|
||||
header_ids.add(header_id)
|
||||
for grep_line in self.sh.check_output(
|
||||
[
|
||||
@@ -74,7 +74,7 @@ from the README to example sources to GitHub rather than locally.
|
||||
LF
|
||||
],
|
||||
cwd=self.env['root_dir']
|
||||
).splitlines():
|
||||
).decode().splitlines():
|
||||
url_index = grep_line.index(self.env['homepage_url'])
|
||||
hash_start_index = url_index + len(self.env['homepage_url'])
|
||||
if len(grep_line) > hash_start_index:
|
||||
|
||||
Reference in New Issue
Block a user