audiobookshelf: 2.17.1 -> 2.17.2 (#359250)
[NixPkgs.git] / pkgs / servers / samba / 4.x-fix-makeflags-parsing.patch
blob7c973e5bd26a41007d3f37b52aba7468e8c7ce79
1 --- a/buildtools/wafsamba/samba_utils.py 2019-04-08 01:13:47.525306574 +0000
2 +++ b/buildtools/wafsamba/samba_utils.py 2019-04-08 01:14:34.805245676 +0000
3 @@ -495,7 +495,7 @@
4 Logs.zones = ['runner']
5 if Logs.verbose > 2:
6 Logs.zones = ['*']
7 - elif opt[0].isupper() and opt.find('=') != -1:
8 + elif opt[0] and opt.find('=') != -1:
9 # this allows us to set waf options on the make command line
10 # for example, if you do "make FOO=blah", then we set the
11 # option 'FOO' in Options.options, to blah. If you look in wafsamba/wscript