termux-packages/packages/dvtm/fix-fifo-path.patch

12 lines
341 B
Diff

diff -uNr dvtm-0.15/dvtm-status dvtm-0.15.mod/dvtm-status
--- dvtm-0.15/dvtm-status 2016-01-09 13:40:12.000000000 +0200
+++ dvtm-0.15.mod/dvtm-status 2017-09-09 21:28:15.370807282 +0300
@@ -1,6 +1,6 @@
#!/bin/sh
-FIFO="/tmp/dvtm-status.$$"
+FIFO="@TERMUX_PREFIX@/tmp/dvtm-status.$$"
[ -p "$FIFO" ] || mkfifo -m 600 "$FIFO" || exit 1