File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -362,8 +362,7 @@ $(BUILDDIR)/.config: $(BASEDIR)/.busybox-config
362362
363363# Test under the busybox test suite
364364$(BUILDDIR ) /busybox : busybox-src build-coreutils $(BUILDDIR ) /.config
365- @echo -e ' #!/bin/sh\nexec env -a coreutils `dirname "$0"`/coreutils "$@"' > " $( BUILDDIR) /busybox.sh"
366- $(INSTALL ) -m 755 " $( BUILDDIR) /busybox.sh" " $( BUILDDIR) /busybox"
365+ $(INSTALL ) -m 755 " $( BUILDDIR) /coreutils" " $( BUILDDIR) /busybox"
367366
368367prepare-busytest : $(BUILDDIR ) /busybox
369368 # disable inapplicable tests
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ fn main() {
6565 if let Some ( util) = validation:: find_prefixed_util ( binary_as_util, utils. keys ( ) . copied ( ) ) {
6666 // prefixed util => replace 0th (aka, executable name) argument
6767 Some ( OsString :: from ( util) )
68- } else if binary_as_util. ends_with ( "utils" ) {
68+ } else if binary_as_util. ends_with ( "utils" ) || binary_as_util. ends_with ( "box" ) {
69+ // todo: Remove support of "*box" from binary
6970 uucore:: set_utility_is_second_arg ( ) ;
7071 args. next ( )
7172 } else {
You can’t perform that action at this time.
0 commit comments