diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/find.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/find.py b/scripts/find.py index e1e86ae..9941bff 100755 --- a/scripts/find.py +++ b/scripts/find.py @@ -89,14 +89,14 @@ class find(base.base): for folder in arg: if (os.path.isdir(folder)): did = 1 - self.files += self.run("find {} -mindepth 1 -maxdepth 1 -name \"*.yaml\" | grep -v schema".\ + self.files += self.run("find {} -mindepth 1 -maxdepth 1 -name \"*.yaml\" | grep -v project.schema".\ format(folder)) if (did): return # all project files if no files if (len(self.files) == 0): - self.files = self.run("find {}/projects -name \"*.yaml\" | grep -v schema".\ + self.files = self.run("find {}/projects -name \"*.yaml\" | grep -v project.schema".\ format(self.top())) #-------------------- |