File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ ifeq ($(PROFILE),release)
2222 PROFILE_CMD = --release
2323endif
2424
25- RM := rm -rf
26-
2725# Binaries
2826CARGO ?= cargo
2927CARGOFLAGS ?=
@@ -340,7 +338,6 @@ endif
340338
341339all : build
342340
343- do_install = $(INSTALL ) ${1}
344341use_default := 1
345342
346343build-pkgs :
@@ -386,12 +383,11 @@ busybox-src:
386383
387384# This is a busybox-specific config file their test suite wants to parse.
388385$(BUILDDIR ) /.config : $(BASEDIR ) /.busybox-config
389- cp $< $@
386+ $( INSTALL ) -m 644 $< $@
390387
391388# Test under the busybox test suite
392389$(BUILDDIR ) /busybox : busybox-src build-coreutils $(BUILDDIR ) /.config
393- cp " $( BUILDDIR) /coreutils" " $( BUILDDIR) /busybox"
394- chmod +x $@
390+ $(INSTALL ) -m 755 " $( BUILDDIR) /coreutils" " $( BUILDDIR) /busybox"
395391
396392prepare-busytest : $(BUILDDIR ) /busybox
397393 # disable inapplicable tests
@@ -504,7 +500,7 @@ endif
504500uninstall :
505501ifneq ($(OS ) ,Windows_NT)
506502 rm -f $(DESTDIR)$(LIBSTDBUF_DIR)/libstdbuf*
507- -rmdir $(DESTDIR)$(LIBSTDBUF_DIR) 2>/dev/null || true
503+ -rm -d $(DESTDIR)$(LIBSTDBUF_DIR) 2>/dev/null || true
508504endif
509505ifeq (${MULTICALL}, y)
510506 rm -f $(addprefix $(INSTALLDIR_BIN)/,$(PROG_PREFIX)coreutils)
You can’t perform that action at this time.
0 commit comments