redo-ifchange: remove special case for zero arguments.
Not sure why I put there, but special cases aren't worth the hassle.
This commit is contained in:
parent
60b34d81ec
commit
ea7057d9b6
2 changed files with 1 additions and 2 deletions
|
|
@ -297,6 +297,7 @@ def main(targets, shouldbuildfunc):
|
||||||
# In the first cycle, we just build as much as we can without worrying
|
# In the first cycle, we just build as much as we can without worrying
|
||||||
# about any lock contention. If someone else has it locked, we move on.
|
# about any lock contention. If someone else has it locked, we move on.
|
||||||
seen = {}
|
seen = {}
|
||||||
|
lock = None
|
||||||
for t in targets:
|
for t in targets:
|
||||||
if t in seen:
|
if t in seen:
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import sys, os
|
import sys, os
|
||||||
if not sys.argv[1:]:
|
|
||||||
sys.exit(0) # nothing to do, so we can't possibly do it wrong
|
|
||||||
|
|
||||||
import vars_init
|
import vars_init
|
||||||
vars_init.init(sys.argv[1:])
|
vars_init.init(sys.argv[1:])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue