termux-packages/x11-packages/xorg-twm/twm-1.0.11_src_menus.c.patch

13 lines
496 B
Diff
Raw Normal View History

2020-09-23 23:08:28 +02:00
diff -uNr twm-1.0.11/src/menus.c twm-1.0.11.mod/src/menus.c
--- twm-1.0.11/src/menus.c 2020-06-15 02:58:19.000000000 +0300
+++ twm-1.0.11.mod/src/menus.c 2020-09-24 00:06:10.268351973 +0300
@@ -2193,7 +2193,7 @@
}
break;
case F_STARTWM:
- execlp("/bin/sh", "sh", "-c", action, (void *) NULL);
+ execlp("@TERMUX_PREFIX@/bin/sh", "sh", "-c", action, (void *) NULL);
fprintf(stderr, "%s: unable to start: %s\n", ProgramName, *Argv);
break;