mirror of
https://github.com/samba-team/samba.git
synced 2025-09-09 01:44:21 +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:
committed by
Andrew Bartlett
parent
835e156494
commit
b50f8390eb
@@ -590,7 +590,7 @@ def load_file(filename):
|
|||||||
|
|
||||||
def reconfigure(ctx):
|
def reconfigure(ctx):
|
||||||
'''rerun configure if necessary'''
|
'''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')
|
raise Errors.WafError('configure has not been run')
|
||||||
import samba_wildcard
|
import samba_wildcard
|
||||||
bld = samba_wildcard.fake_build_environment()
|
bld = samba_wildcard.fake_build_environment()
|
||||||
|
Reference in New Issue
Block a user