summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.20.1/busybox-1.20.1-ash.patch
blob: a012a7063ab4748921b8298cf9d568b19fb54fba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- busybox-1.20.1/shell/ash.c
+++ busybox-1.20.1-ash/shell/ash.c
@@ -6846,8 +6846,7 @@ evalvar(char *p, int flags, struct strli
 		patloc = expdest - (char *)stackblock();
 		if (NULL == subevalvar(p, /* varname: */ NULL, patloc, subtype,
 				startloc, varflags,
-//TODO: | EXP_REDIR too? All other such places do it too
-				/* quotes: */ flags & (EXP_FULL | EXP_CASE),
+				/* quotes: */ flags & (EXP_FULL | EXP_CASE | EXP_REDIR),
 				var_str_list)
 		) {
 			int amount = expdest - (