aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-06 12:09:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-06 12:09:55 +0000
commitd0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f (patch)
tree57c315d94b073b3a97164e93297307e493fd85d4 /shell
parentbfbc971f9f96861abd80b977fb86e2791541bea8 (diff)
downloadbusybox-d0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f.tar.gz
hush: add <> and () as "safe" arith chars
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index bad2c8044..3aae7d7c1 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1791,7 +1791,7 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask)
}
if (isdigit(c))
continue;
- if (strchr(" \t+-*/%_", c) != NULL)
+ if (strchr(" \t+-*/%<>()_", c) != NULL)
continue;
c |= 0x20; /* tolower */
if (c >= 'a' && c <= 'z')