--- src/usr.bin/make/parse.c 2005/08/09 23:34:07 1.95 +++ src/usr.bin/make/parse.c 2005/09/17 11:07:23 1.96 @@ -1083,11 +1083,14 @@ ParseDoDependency(Parser *parser, struct *line = '\0'; } else if (specType == ExShell) { - if (!Shell_Parse(line)) { + Shell *shell; + + if ((shell = Shell_Parse(line)) == NULL) { Parse_Error(PARSE_FATAL, "improper shell specification"); return; } + commandShell = shell; *line = '\0'; } else if (specType == NotParallel || specType == SingleShell) {