diff options
author | Simon Rettberg | 2021-07-09 14:53:59 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-07-09 14:53:59 +0200 |
commit | 917022cf089e766493255d4ae0cb121611eb251a (patch) | |
tree | 6cc8ce3d3aeaed439fd83fb98bbcb194803d76dd /core/modules/dmidecode | |
parent | Fix var name (diff) | |
download | mltk-917022cf089e766493255d4ae0cb121611eb251a.tar.gz mltk-917022cf089e766493255d4ae0cb121611eb251a.tar.xz mltk-917022cf089e766493255d4ae0cb121611eb251a.zip |
[dmidecode] Fix path
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() { |