summaryrefslogtreecommitdiffstats
path: root/core/modules/redsocks/module.build
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/redsocks/module.build
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/redsocks/module.build')
-rw-r--r--core/modules/redsocks/module.build12
1 files changed, 2 insertions, 10 deletions
diff --git a/core/modules/redsocks/module.build b/core/modules/redsocks/module.build
index b1298c9d..a905d736 100644
--- a/core/modules/redsocks/module.build
+++ b/core/modules/redsocks/module.build
@@ -1,16 +1,8 @@
#!/bin/bash
-#tool/distro specific functions for fetching, building and installing dependencies
-
fetch_source () {
- mkdir -p src
- cde src
- if [ ! -d "redsocks" ]; then
- git clone "$REQUIRED_GIT" "redsocks" || perror "Could not clone redoscks from github"
- fi
- cde redsocks
- git checkout "$REQUIRED_REVISION" || perror "Could not checkout revision $REQUIRED_REVISION"
-}
+ autoclone
+}
build () {
cde "$MODULE_WORK_DIR/src/redsocks"