diff --git a/package_linter.py b/package_linter.py index 0065751..e962f75 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1445,7 +1445,7 @@ class Configurations(TestSuite): ): continue - cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % filename + cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % (app.path + "/conf/" + filename) if os.system(cmd) != 0: yield Warning(