parent
da616f69ea
commit
b0a25cdbc9
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ def main(argv=None):
|
|||
if makefile is None and directory is None:
|
||||
makefile_names = ["GNUmakefile", "makefile", "Makefile"]
|
||||
makefile = find_makefile_upward(working_dir, makefile_names)
|
||||
directory = os.path.dirname(makefile)
|
||||
if makefile:
|
||||
directory = os.path.dirname(makefile)
|
||||
if directory or makefile:
|
||||
call_makefile(directory, makefile, args)
|
||||
for arg in args:
|
||||
|
|
Loading…
Reference in a new issue