Don't iterate directories twice

From the docs recursive_directory_iterator can return
directories. Use an is_symlink check to avoid searching
directories twice.

Change-Id: Ic0281ae623e10571199113d036d38db6a436bede
Signed-off-by: James Feist <james.feist@linux.intel.com>
1 file changed