SHA256
1
0
forked from pool/coccinelle
coccinelle/cocci-pythondetect.diff

18 lines
488 B
Diff

---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: coccinelle-0.2.5-rc2/configure
===================================================================
--- coccinelle-0.2.5-rc2.orig/configure
+++ coccinelle-0.2.5-rc2/configure
@@ -198,7 +198,7 @@ We need 3.XX",
if($python) {
if(check_config(
"python --version 2>&1 |",
- "Python 2\.[567]\..*",
+ qr/Python 2\.[567]\b/,
"python is present",
"python is missing or is not a good version."
))