mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
rm recognition of "busybox" bin name in uutils.rs
This commit is contained in:
parent
73cfb04d11
commit
5ee7b5b8fc
1 changed files with 1 additions and 6 deletions
|
@ -49,12 +49,7 @@ fn main() {
|
|||
None => (),
|
||||
}
|
||||
|
||||
if binary_as_util.ends_with("uutils") || binary_as_util.starts_with("uutils") ||
|
||||
binary_as_util.ends_with("busybox") || binary_as_util.starts_with("busybox") {
|
||||
// uutils can be called as either "uutils", "busybox"
|
||||
// "uutils-suffix" or "busybox-suffix". Not sure
|
||||
// what busybox uses the -suffix pattern for.
|
||||
} else {
|
||||
if !(binary_as_util.ends_with("uutils") || binary_as_util.starts_with("uutils")) {
|
||||
println!("{}: applet not found", binary_as_util);
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue