git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff3a11
)
build: fixed git version in samba -V
author
Andrew Tridgell
<tridge@samba.org>
Fri, 19 Mar 2010 03:38:37 +0000
(14:38 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:26:53 +0000
(20:26 +1000)
buildtools/wafsamba/samba_patterns.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_patterns.py
b/buildtools/wafsamba/samba_patterns.py
index 237020ba295d9e35f1444e40ae31994d21ba71aa..fa1b70de7a71068d806c28180bd5b2fc7424f179 100644
(file)
--- a/
buildtools/wafsamba/samba_patterns.py
+++ b/
buildtools/wafsamba/samba_patterns.py
@@
-7,9
+7,10
@@
from samba_utils import *
def SAMBA_MKVERSION(bld, target):
'''generate the version.h header for Samba'''
bld.SET_BUILD_GROUP('setup')
- t = bld(rule="
${SRC} ${TGT
}",
+ t = bld(rule="
cd .. && ${SRC[0].abspath(env)} VERSION ${TGT[0].abspath(env)
}",
source= [ "script/mkversion.sh", 'VERSION' ],
target=target,
+ shell=True,
before="cc")
# force this rule to be constructed now
t.post()