2642b8
diff -up ksh-20120801/src/cmd/ksh93/sh/expand.c.fikspand ksh-20120801/src/cmd/ksh93/sh/expand.c
2642b8
--- ksh-20120801/src/cmd/ksh93/sh/expand.c.fikspand	2010-11-24 05:46:30.000000000 +0100
2642b8
+++ ksh-20120801/src/cmd/ksh93/sh/expand.c	2014-05-22 12:55:46.252717371 +0200
2642b8
@@ -278,6 +278,8 @@ int path_generate(Shell_t *shp,struct ar
2642b8
 	char comma, range=0;
2642b8
 	int first, last, incr, count = 0;
2642b8
 	char tmp[32], end[1];
2642b8
+	if(!sh_isoption(SH_BRACEEXPAND))
2642b8
+		return path_expand(shp,todo->argval,arghead);
2642b8
 	todo->argchn.ap = 0;
2642b8
 again:
2642b8
 	apin = ap = todo;