libfuse3: use @TERMUX_PREFIX@ in patches instead of full path

This commit is contained in:
Leonid Pliushch 2020-08-11 20:50:08 +03:00 committed by Yaksh Bariya
parent f027cd96e1
commit 2cdcb3983c
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -5,7 +5,7 @@
int ret = -1;
- 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) {
perror("mkdtemp");
return 1;