mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
build: Fixed usage of non-default path to WAFLOCK
If WAFLOCK environment variable is set, use it to override path to WAF lock file in Samba build scripts. Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
835e156494
commit
b50f8390eb
@ -590,7 +590,7 @@ def load_file(filename):
|
||||
|
||||
def reconfigure(ctx):
|
||||
'''rerun configure if necessary'''
|
||||
if not os.path.exists(".lock-wscript"):
|
||||
if not os.path.exists(os.environ.get('WAFLOCK', '.lock-wscript')):
|
||||
raise Errors.WafError('configure has not been run')
|
||||
import samba_wildcard
|
||||
bld = samba_wildcard.fake_build_environment()
|
||||
|
Loading…
Reference in New Issue
Block a user