summaryrefslogtreecommitdiffstats
path: root/core/modules/networkd-dispatcher
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-09 14:14:34 +0200
committerSimon Rettberg2021-07-09 14:14:34 +0200
commit9b9e3b19cdccf5e442c129d4814da7987afb16a7 (patch)
tree803302a75fd40c039cf2eb35055001c2c5053570 /core/modules/networkd-dispatcher
parentRequire explicit confgig for distcc/ccache, print local config (diff)
downloadmltk-9b9e3b19cdccf5e442c129d4814da7987afb16a7.tar.gz
mltk-9b9e3b19cdccf5e442c129d4814da7987afb16a7.tar.xz
mltk-9b9e3b19cdccf5e442c129d4814da7987afb16a7.zip
Use autoclone where possible
Diffstat (limited to 'core/modules/networkd-dispatcher')
-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#*/}"