From 963fc72f0e93e5356c7c0933b332b8c153ab363a Mon Sep 17 00:00:00 2001 From: David Michael Date: Wed, 26 Jul 2017 13:04:55 -0700 Subject: [PATCH] check_root: ignore cgi.py in any Python version --- build_library/check_root | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/check_root b/build_library/check_root index 2723c8c7bd..48c6f40473 100755 --- a/build_library/check_root +++ b/build_library/check_root @@ -80,7 +80,7 @@ IGNORE_MISSING = { USR_LINKS = ("/bin/", "/sbin/", "/lib/", "/lib32/", "/lib64/") IGNORE_SHEBANG = ( - b"*/python2.7/cgi.py", + b"*/python[0-9].[0-9]/cgi.py", b"*/usr/lib64/modules/*/source/scripts/*", b"*/usr/share/nova-agent/*/etc/gentoo/nova-agent", b"*/tmp/*",