[arch-projects] [namcap][PATCH] Fix FS#49733
17 Jun
2016
17 Jun
'16
5:01 p.m.
This is a fix for https://bugs.archlinux.org/task/49733 diff --git a/Namcap/util.py b/Namcap/util.py index 21d7163..f99ada1 100644 --- a/Namcap/util.py +++ b/Namcap/util.py @@ -70,6 +70,8 @@ def script_type(path): if m != None: cmd = m.group(1).split() name = cmd[0] + if not re.match('^[a-zA-Z0-9_-]*$', name): + return None if name == 'env': name = cmd[1] return name
17 Jun
17 Jun
5:29 p.m.
Thank you but I'm working on something a bit more comprehensive. -Kyle
6:06 p.m.
Thank you but I'm working on something a bit more comprehensive.
Ah ok, thanks for your reply. Michael
3076
Age (days ago)
3076
Last active (days ago)
2 comments
2 participants
participants (2)
-
keenerd
-
Michael Straube