Pattern is not a PCRE one but merely a shell glob. Hence 'lib.*' matches
only 'lib.' prefix, not also 'lib'.

Fixes: bf9653667a39e ("python: installation of binding via make install")
Signed-off-by: Phil Sutter <p...@nwl.cc>
---
 py/.gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/py/.gitignore b/py/.gitignore
index 09c1e62bbd128..10c1710732cbf 100644
--- a/py/.gitignore
+++ b/py/.gitignore
@@ -1,5 +1,5 @@
 *.pyc
 build/
 dist/
-lib.*/
+lib*/
 nftables.egg-info/
-- 
2.21.0

Reply via email to