summaryrefslogtreecommitdiffstats
path: root/core/modules/dmidecode
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/dmidecode')
-rw-r--r--core/modules/dmidecode/module.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/modules/dmidecode/module.build b/core/modules/dmidecode/module.build
index 6b891730..93929aff 100644
--- a/core/modules/dmidecode/module.build
+++ b/core/modules/dmidecode/module.build
@@ -1,15 +1,13 @@
#!/bin/bash
fetch_source() {
- [ -d "${MODULE_WORK_DIR}/src/.git" ] && return 0
- rm -rf -- "${MODULE_WORK_DIR}/src"
- git clone "${REQUIRED_GIT}" "${MODULE_WORK_DIR}/src" || perror "Could not create ${MODULE_WORK_DIR}/src"
+ autoclone
}
build() {
# compilation
- cde "${MODULE_WORK_DIR}/src"
+ cde "${MODULE_WORK_DIR}/src/dmidecode"
make || perror "Could not compile dmidecode using 'make'."