From 917022cf089e766493255d4ae0cb121611eb251a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 9 Jul 2021 14:53:59 +0200 Subject: [dmidecode] Fix path --- core/modules/dmidecode/module.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/modules/dmidecode') diff --git a/core/modules/dmidecode/module.build b/core/modules/dmidecode/module.build index 93929aff..b0dae8f7 100644 --- a/core/modules/dmidecode/module.build +++ b/core/modules/dmidecode/module.build @@ -13,9 +13,7 @@ build() { # NO MAKE INSTALL: Copy to build dir, since there are no shared libs linked in mkdir -p "${MODULE_BUILD_DIR}/usr/sbin" - cp "${MODULE_WORK_DIR}/src/dmidecode" "${MODULE_BUILD_DIR}/usr/sbin/" || perror "Could not copy dmidecode binary to ${MODULE_BUILD_DIR}" - - cd - &>/dev/null + cp "dmidecode" "${MODULE_BUILD_DIR}/usr/sbin/" || perror "Could not copy dmidecode binary to ${MODULE_BUILD_DIR}" } post_copy() { -- cgit v1.2.3-55-g7522