diff options
Diffstat (limited to 'core/modules/usbguard/module.build')
-rw-r--r-- | core/modules/usbguard/module.build | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/modules/usbguard/module.build b/core/modules/usbguard/module.build index bbf5b330..d4879f91 100644 --- a/core/modules/usbguard/module.build +++ b/core/modules/usbguard/module.build @@ -2,10 +2,7 @@ fetch_source() { [ -d "${MODULE_WORK_DIR}/src/.git" ] && return 0 rm -rf -- "${MODULE_WORK_DIR}/src" download_untar "${REQUIRED_LIBSODIUM_URL}" "src/libsodium/" - git clone --depth 1 "${REQUIRED_GIT}" "${MODULE_WORK_DIR}/src/usbguard" || perror "Could not clone git to ${MODULE_WORK_DIR}/src/usbguard" - cd "${MODULE_WORK_DIR}/src/usbguard" - git checkout "${REQUIRED_COMMIT}" || perror "Could not switch to required commit" - cd - &>/dev/null + autoclone } build() { |