i3: delete unneeded patch
This commit is contained in:
parent
74a8952572
commit
27ff487f37
@ -1,23 +0,0 @@
|
||||
diff -uNr i3-4.15/i3-nagbar/main.c i3-4.15.mod/i3-nagbar/main.c
|
||||
--- i3-4.15/i3-nagbar/main.c 2018-03-10 19:29:14.000000000 +0200
|
||||
+++ i3-4.15.mod/i3-nagbar/main.c 2018-06-21 19:48:29.560253964 +0300
|
||||
@@ -172,7 +172,7 @@
|
||||
warn("Could not fdopen() temporary script to store the nagbar command");
|
||||
return;
|
||||
}
|
||||
- fprintf(script, "#!/bin/sh\nrm %s\n%s", script_path, button->action);
|
||||
+ fprintf(script, "#!@TERMUX_PREFIX@/bin/sh\nrm %s\n%s", script_path, button->action);
|
||||
/* Also closes fd */
|
||||
fclose(script);
|
||||
|
||||
@@ -343,8 +343,8 @@
|
||||
unlink(argv[0]);
|
||||
cmd = sstrdup(argv[0]);
|
||||
*(cmd + argv0_len - strlen(".nagbar_cmd")) = '\0';
|
||||
- execl("/bin/sh", "/bin/sh", cmd, NULL);
|
||||
- err(EXIT_FAILURE, "execv(/bin/sh, /bin/sh, %s)", cmd);
|
||||
+ execl("@TERMUX_PREFIX@/bin/sh", "@TERMUX_PREFIX@/bin/sh", cmd, NULL);
|
||||
+ err(EXIT_FAILURE, "execv(@TERMUX_PREFIX@/bin/sh, @TERMUX_PREFIX@/bin/sh, %s)", cmd);
|
||||
}
|
||||
|
||||
argv0 = argv[0];
|
Loading…
Reference in New Issue
Block a user