aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-14 08:06:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-14 08:06:59 +0000
commit7f9593753a194c3d3db79f803f68d2ebaf98cd12 (patch)
tree53248c85f42e075a371bb71b9e066f398e6baa50 /shell
parentb024f8da8fad7ffd9bc5e63ed947bf6bd35fac3e (diff)
downloadbusybox-w32-7f9593753a194c3d3db79f803f68d2ebaf98cd12.tar.gz
busybox-w32-7f9593753a194c3d3db79f803f68d2ebaf98cd12.tar.bz2
busybox-w32-7f9593753a194c3d3db79f803f68d2ebaf98cd12.zip
randomconfig fixes
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index ba3e2c3f0..b6e49db99 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -4069,11 +4069,15 @@ static void done_pipe(struct parse_context *ctx, pipe_style type)
4069 * RES_NONE case is for "for a in; do ..." (empty IN set) 4069 * RES_NONE case is for "for a in; do ..." (empty IN set)
4070 * and other cases to work. */ 4070 * and other cases to work. */
4071 if (not_null 4071 if (not_null
4072#if HAS_KEYWORDS 4072#if ENABLE_HUSH_IF
4073 || ctx->ctx_res_w == RES_FI 4073 || ctx->ctx_res_w == RES_FI
4074#endif
4075#if ENABLE_HUSH_LOOPS
4074 || ctx->ctx_res_w == RES_DONE 4076 || ctx->ctx_res_w == RES_DONE
4075 || ctx->ctx_res_w == RES_FOR 4077 || ctx->ctx_res_w == RES_FOR
4076 || ctx->ctx_res_w == RES_IN 4078 || ctx->ctx_res_w == RES_IN
4079#endif
4080#if ENABLE_HUSH_CASE
4077 || ctx->ctx_res_w == RES_ESAC 4081 || ctx->ctx_res_w == RES_ESAC
4078#endif 4082#endif
4079 ) { 4083 ) {