mirror of https://gitlab.com/ita1024/waf.git
Do not climb if a command starts by 'configure'
This commit is contained in:
parent
173cd3beca
commit
4a0a7106c4
|
@ -2,9 +2,6 @@
|
|||
# encoding: utf-8
|
||||
# Example using the `remote` tool.
|
||||
|
||||
|
||||
# Important! this requires ``export NO_CLIMB=1`` when run in the waf folder!
|
||||
|
||||
from waflib import Utils
|
||||
|
||||
top = '.'
|
||||
|
|
|
@ -45,9 +45,10 @@ def waf_entry_point(current_directory, version, wafdir):
|
|||
no_climb = os.environ.get('NOCLIMB', None)
|
||||
if not no_climb:
|
||||
for k in no_climb_commands:
|
||||
if k in sys.argv:
|
||||
no_climb = True
|
||||
break
|
||||
for y in sys.argv:
|
||||
if y.startswith(k):
|
||||
no_climb = True
|
||||
break
|
||||
|
||||
# try to find a lock file (if the project was configured)
|
||||
# at the same time, store the first wscript file seen
|
||||
|
|
Loading…
Reference in New Issue