Hi,
I'm trying to use the matching files function macro but it doesn't seem to accept what I'm doing.
What I want to do is, based on the value of a variable, the _expression_ passed to the matching files is modified. I tried using an if else block that queues jobs but when testing with dry-run it fails with "submit file: endif without matching if" which makes sense but I don't know to avoid this issue.
EXTENSION = avi
SINGLE_VIDEO = True
if $INT(SINGLE_VIDEO)
  queue VIDEO matching files matching files ($(PATH)/*/*.$(EXTENSION))
else
  queue VIDEO matching files matching files ($(PATH)/*.$(EXTENSION))
endif
Any idea on how to make this work?
Cheers,
JoÃo BaÃto
---------------
ScientificÂComputing and Software Platform
Champalimaud Research
Champalimaud Center for the Unknown
Av. BrasÃlia, Doca de PedrouÃos
1400-038 Lisbon, Portugal
fchampalimaud.org