summaryrefslogtreecommitdiff
blob: 94877c62b3163ee9532a0608bd94173f1bb92212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Fix process substitution on BSD

--- a/execute_cmd.c
+++ b/execute_cmd.c
@@ -2672,6 +2672,7 @@
 
 	  do_piping (pipe_in, pipe_out);
 
+	  subshell_environment = 0;
 	  if (async)
 	    subshell_environment |= SUBSHELL_ASYNC;
 	  if (pipe_in != NO_PIPE || pipe_out != NO_PIPE)