summaryrefslogtreecommitdiffstats
path: root/core/modules/dmidecode
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-09 14:53:59 +0200
committerSimon Rettberg2021-07-09 14:53:59 +0200
commit917022cf089e766493255d4ae0cb121611eb251a (patch)
tree6cc8ce3d3aeaed439fd83fb98bbcb194803d76dd /core/modules/dmidecode
parentFix var name (diff)
downloadmltk-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.build4
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() {