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:
500c854
)
waf: ensure that MAKEFLAGS is set before parsing it
author
Andrew Tridgell
<tridge@samba.org>
Tue, 15 Mar 2011 02:56:46 +0000
(13:56 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 15 Mar 2011 02:56:46 +0000
(13:56 +1100)
buildtools/wafsamba/samba_utils.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_utils.py
b/buildtools/wafsamba/samba_utils.py
index bffe98dcd80d3db6a638e213b7c8b393f2620465..3adf533b0e49071bc617a3d64310bca802bc0e86 100644
(file)
--- a/
buildtools/wafsamba/samba_utils.py
+++ b/
buildtools/wafsamba/samba_utils.py
@@
-473,6
+473,8
@@
def CHECK_MAKEFLAGS(bld):
if not 'WAF_MAKE' in os.environ:
return
makeflags = os.environ.get('MAKEFLAGS')
+ if makeflags is None:
+ return
jobs_set = False
# we need to use shlex.split to cope with the escaping of spaces
# in makeflags