termux-packages/x11-packages/fluxbox/fluxbox-1.3.7_src_main.cc.p...

13 lines
563 B
Diff
Raw Normal View History

2018-09-10 00:42:26 +02:00
diff -uNr fluxbox-1.3.7/src/main.cc fluxbox-1.3.7.mod/src/main.cc
--- fluxbox-1.3.7/src/main.cc 2015-02-08 12:44:45.377187009 +0200
+++ fluxbox-1.3.7.mod/src/main.cc 2018-06-19 20:52:20.791724555 +0300
@@ -270,7 +270,7 @@
if (!restart_argument.empty()) {
const char *shell = getenv("SHELL");
if (!shell)
- shell = "/bin/sh";
+ shell = "@TERMUX_PREFIX@/bin/sh";
execlp(shell, shell, "-c", restart_argument.c_str(), (const char *) NULL);
perror(restart_argument.c_str());