nixpkgs/pkgs/by-name/lu/luanti/0000-mark-rm-for-substitution.patch
06kellyjac 451ef39947 minetest: rename to luanti
Moved to pkgs/by-name
Added and updated aliases
Added release note
2024-12-24 22:58:39 +00:00

14 lines
337 B
Diff

diff --git a/src/filesys.cpp b/src/filesys.cpp
index 8881eb2ca..e02d87a9f 100644
--- a/src/filesys.cpp
+++ b/src/filesys.cpp
@@ -384,7 +384,7 @@ bool RecursiveDelete(const std::string &path)
if (child_pid == 0) {
// Child
std::array<const char*, 4> argv = {
- "rm",
+ "@RM_COMMAND@",
"-rf",
path.c_str(),
nullptr