mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-19 16:52:16 +00:00
19b3e040c1
Remove unnecessary installed tests explicitly.
12 lines
359 B
Diff
12 lines
359 B
Diff
--- a/src/swtpm_setup/swtpm.c
|
|
+++ b/src/swtpm_setup/swtpm.c
|
|
@@ -92,7 +92,7 @@
|
|
int pidfile_fd;
|
|
int ret = 1;
|
|
gchar *tmp;
|
|
- char pidfile[] = "/tmp/.swtpm_setup.pidfile.XXXXXX";
|
|
+ char pidfile[] = "@TERMUX_PREFIX@/tmp/.swtpm_setup.pidfile.XXXXXX";
|
|
|
|
pidfile_fd = g_mkstemp_full(pidfile, O_EXCL|O_CREAT, 0600);
|
|
if (pidfile_fd < 0) {
|