lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

001-compile-fix.patch (618B)


      1 --- a/execute_cmd.c
      2 +++ b/execute_cmd.c
      3 @@ -2369,7 +2369,11 @@ execute_pipeline (command, asynchronous,
      4    /* If the `lastpipe' option is set with shopt, and job control is not
      5       enabled, execute the last element of non-async pipelines in the
      6       current shell environment. */
      7 -  if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
      8 +  if (lastpipe_opt &&
      9 +#if defined(JOB_CONTROL)
     10 +               job_control == 0 && 
     11 +#endif
     12 +               asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
     13      {
     14        lstdin = move_to_high_fd (0, 1, -1);
     15        if (lstdin > 0)