Ignore binary file match derp

This commit is contained in:
Alexandre Aubin 2021-01-17 15:32:20 +01:00
parent 0e5c8a4504
commit 9db63cc2ce

View file

@ -443,7 +443,7 @@ class App(TestSuite):
@test()
def remaining_replacebyyourapp(self):
if os.system("grep -qr 'REPLACEBYYOURAPP' %s 2>/dev/null" % self.path) == 0:
if os.system("grep -I -qr 'REPLACEBYYOURAPP' %s 2>/dev/null" % self.path) == 0:
yield Warning("You should replace all occurences of REPLACEBYYOURAPP.")
#######################################