libfuse3: use @TERMUX_PREFIX@ in patches instead of full path
This commit is contained in:
parent
f027cd96e1
commit
2cdcb3983c
@ -5,7 +5,7 @@
|
|||||||
int ret = -1;
|
int ret = -1;
|
||||||
|
|
||||||
- mountpoint = strdup("/tmp/fuse_printcap_XXXXXX");
|
- mountpoint = strdup("/tmp/fuse_printcap_XXXXXX");
|
||||||
+ mountpoint = strdup("/data/data/com.termux/files/usr/tmp/fuse_printcap_XXXXXX");
|
+ mountpoint = strdup("@TERMUX_PREFIX@/tmp/fuse_printcap_XXXXXX");
|
||||||
if(mkdtemp(mountpoint) == NULL) {
|
if(mkdtemp(mountpoint) == NULL) {
|
||||||
perror("mkdtemp");
|
perror("mkdtemp");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user