update labels script for build folders
This commit is contained in:
parent
fa6bec2835
commit
6d7e96f43b
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ def main(args):
|
|||
arglist = []
|
||||
if len(args) > 1:
|
||||
path = Path(args[1])
|
||||
arglist = list(path.glob('*.aux'))
|
||||
arglist = list(path.glob('*.aux')) + list(path.glob('build/*.aux'))
|
||||
else:
|
||||
arglist = ['/home/maximilian/current_course/full.aux']
|
||||
|
||||
|
@ -63,6 +63,7 @@ def main(args):
|
|||
return command.strip()
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
selected_label = main(sys.argv)
|
||||
print(selected_label)
|
||||
|
|
Loading…
Reference in a new issue