From 0e6e86197d40f5499c54f4288c38d63bfdcdb256 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Mon, 25 Feb 2019 15:43:41 +0900 Subject: find: find yaml file find yaml file, not -type f Signed-off-by: Kuninori Morimoto --- scripts/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/find.py') diff --git a/scripts/find.py b/scripts/find.py index 3150475..2023842 100755 --- a/scripts/find.py +++ b/scripts/find.py @@ -75,7 +75,7 @@ class find(base.base): # all project files if no files if (len(self.files) == 0): - self.files = self.run("find {}/projects -type f | grep -v schema".\ + self.files = self.run("find {}/projects -name \"*.yaml\" | grep -v schema".\ format(self.top())) #-------------------- -- cgit v1.2.3