termux-packages/packages/rip/src-main.rs.patch
PeroSar d9c2132229 rip: fix /tmp directory path
Signed-off-by: PeroSar <perosar1111@gmail.com>
2022-02-17 22:01:19 +01:00

12 lines
386 B
Diff

--- ./src/main.rs.bak 2022-02-18 01:48:31.328900348 +0530
+++ ./src/main.rs 2022-02-18 01:49:09.720900351 +0530
@@ -20,7 +20,7 @@
include!("util.rs");
-const GRAVEYARD: &'static str = "/tmp/graveyard";
+const GRAVEYARD: &'static str = "@TERMUX_PREFIX@/tmp/graveyard";
const RECORD: &'static str = ".record";
const LINES_TO_INSPECT: usize = 6;
const FILES_TO_INSPECT: usize = 6;