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

--- execute_cmd.c
+++ 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)