Make documentation build works outside of git repository
authorJean Baptiste Favre <debian@jbfavre.org>
Mon, 23 Apr 2018 14:04:34 +0000 (16:04 +0200)
committerJean Baptiste Favre <debian@jbfavre.org>
Fri, 22 Jun 2018 15:13:53 +0000 (16:13 +0100)
Gbp-Pq: Name 0009-fix-doc-git.patch

doc/ext/traffic-server.py

index acc6ec17cb419a519d2e2f8d47955baa0d151874..44283bc4f8ba5d240bff7fed692846d3b4d33b3a 100644 (file)
@@ -412,7 +412,7 @@ with open('../configure.ac', 'r') as f:
     autoconf_version = '.'.join(match.group(1).split('.', 2)[:2] + ['x'])
 
 # get the current branch the local repository is on
-git_branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
+git_branch = "master"
 
 
 def make_github_link(name, rawtext, text, lineno, inliner, options={}, content=[]):