mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
waf: fixed configure again on RHEL5
the fancier cmd_output() broke git versioning Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 15 11:33:41 UTC 2010 on sn-devel-104
This commit is contained in:
parent
e409db9da1
commit
88d694ac8e
@ -49,7 +49,7 @@ def git_version_summary(path, have_git):
|
||||
if not have_git:
|
||||
return ("GIT-UNKNOWN", {})
|
||||
|
||||
git = Utils.cmd_output(env={"GIT_DIR": "%s/.git" % path}, cmd=["git", "show", '--pretty=format:%h%n%ct%n%H%n%cd', "--stat", "HEAD"])
|
||||
git = Utils.cmd_output('git show --pretty=format:"%h%n%ct%n%H%n%cd" --stat HEAD', silent=True)
|
||||
|
||||
lines = git.splitlines()
|
||||
fields = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user