We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a90c6 commit cb8bea5Copy full SHA for cb8bea5
contrib/devtools/gen-manpages.py
@@ -42,7 +42,7 @@
42
print(f'{abspath} not found or not an executable', file=sys.stderr)
43
sys.exit(1)
44
# take first line (which must contain version)
45
- verstr = r.stdout.split('\n')[0]
+ verstr = r.stdout.splitlines()[0]
46
# last word of line is the actual version e.g. v22.99.0-5c6b3d5b3508
47
verstr = verstr.split()[-1]
48
assert verstr.startswith('v')
0 commit comments