summaryrefslogtreecommitdiffstats
path: root/core/modules/networkd-dispatcher/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/networkd-dispatcher/module.build')
-rw-r--r--core/modules/networkd-dispatcher/module.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/networkd-dispatcher/module.build b/core/modules/networkd-dispatcher/module.build
index 76ec5a8c..c704093c 100644
--- a/core/modules/networkd-dispatcher/module.build
+++ b/core/modules/networkd-dispatcher/module.build
@@ -1,6 +1,6 @@
#!/bin/bash
fetch_source() {
- git clone --depth 1 "$REQUIRED_GIT" "${MODULE_WORK_DIR}/src"
+ autoclone
}
build() {
@@ -10,7 +10,7 @@ build() {
post_copy() {
(
set -o errexit
- local SRCDIR="${MODULE_WORK_DIR}/src/"
+ local SRCDIR="${MODULE_WORK_DIR}/src/networkd-dispatcher"
# figure out where to put files
local conf_target="$(grep -oE 'EnvironmentFile=-?\S+' ${SRCDIR}/networkd-dispatcher.service)"
conf_target="${conf_target#*/}"