diff options
Diffstat (limited to 'core/modules/dmidecode')
| -rw-r--r-- | core/modules/dmidecode/module.build | 4 |
1 files changed, 1 insertions, 3 deletions
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() { |
