[PATCH] modify run_parts to accept filenames with "."
Amy Fong
amy.fong at windriver.com
Fri Jan 17 14:43:46 UTC 2014
This modifies the debianutil run-parts recognizes files with "." in
its name
Signed-off-by: Amy Fong <amy.fong at windriver.com>
---
debianutils/run_parts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/debianutils/run_parts.c
+++ b/debianutils/run_parts.c
@@ -90,7 +90,7 @@
{
c = bb_basename(c);
- while (*c && (isalnum(*c) || *c == '_' || *c == '-'))
+ while (*c && (isalnum(*c) || *c == '_' || *c == '-' || *c == '.'))
c++;
return *c; /* TRUE (!0) if terminating NUL is not reached */
More information about the busybox
mailing list