termux-packages/packages/rip/src-main.rs.patch

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;