mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
shell_helpers: create a check_stdout
./build-doc --dry-run was failing if asciidoctor is not installed Also catch BrokenPipeError on ./build --dry-run all | less if you quit less quickly.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import urllib.error
|
||||
|
||||
@@ -19,7 +18,7 @@ https://github.com/cirosantilli/linux-kernel-module-cheat#release-upload
|
||||
|
||||
def timed_main(self):
|
||||
# https://stackoverflow.com/questions/3404936/show-which-git-tag-you-are-on
|
||||
tag = subprocess.check_output([
|
||||
tag = self.sh.check_output([
|
||||
'git',
|
||||
'describe',
|
||||
'--exact-match',
|
||||
|
||||
Reference in New Issue
Block a user