forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11676f8
commit c006b91
Showing
2 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters