chiark / gitweb /
debianutils: Update from 4.8.3 to 4.8.4
[termux-packages] / packages / screen / fileio.c.patch
1 diff -u -r ../screen-4.5.1/fileio.c ./fileio.c
2 --- ../screen-4.5.1/fileio.c    2017-02-25 16:35:35.132808149 +0100
3 +++ ./fileio.c  2017-04-24 23:26:50.355204362 +0200
4 @@ -721,8 +721,8 @@
5  #ifdef SIGPIPE
6        signal(SIGPIPE, SIG_DFL);
7  #endif
8 -      execl("/bin/sh", "sh", "-c", cmd, (char *)0);
9 -      Panic(errno, "/bin/sh");
10 +      execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", cmd, (char *)0);
11 +      Panic(errno, "@TERMUX_PREFIX@/bin/sh");
12      default:
13        break;
14    }