1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +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:
Andrew Tridgell 2010-11-15 21:45:42 +11:00
parent e409db9da1
commit 88d694ac8e

View File

@ -49,7 +49,7 @@ def git_version_summary(path, have_git):
if not have_git: if not have_git:
return ("GIT-UNKNOWN", {}) 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() lines = git.splitlines()
fields = { fields = {