To avoid scanning templates multiple times, because symbolic links were included, use find to scan only directories below srcpkgs and collect their srcpkgs/<dir>/template files.
To avoid scanning templates multiple times, because symbolic links were included, use find to scan only directories below srcpkgs and collect their srcpkgs/<dir>/template files.