summaryrefslogtreecommitdiffstats
path: root/core/includes
diff options
context:
space:
mode:
authorSimon Rettberg2018-10-16 12:22:39 +0200
committerSimon Rettberg2018-10-16 12:22:39 +0200
commit5a0a7fe6f6b76ed7a1380e50acbb3005e1df06e9 (patch)
tree93474e75516087689a8eb3c647735d75b2d8774a /core/includes
parent[downloader.inc] Try to fix autoclone (diff)
downloadmltk-5a0a7fe6f6b76ed7a1380e50acbb3005e1df06e9.tar.gz
mltk-5a0a7fe6f6b76ed7a1380e50acbb3005e1df06e9.tar.xz
mltk-5a0a7fe6f6b76ed7a1380e50acbb3005e1df06e9.zip
ASDÖBFLJSJt
Diffstat (limited to 'core/includes')
-rw-r--r--core/includes/downloader.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/includes/downloader.inc b/core/includes/downloader.inc
index f1714750..2cdd2df9 100644
--- a/core/includes/downloader.inc
+++ b/core/includes/downloader.inc
@@ -98,7 +98,7 @@ autoclone () {
fi
url="${url%%|*}"
dst="${url##*/}"
- dst="${url%.git}"
+ dst="${dst%.git}"
pinfo "Cloning $url to $dst"
if [ -n "$branch" ]; then
git clone -b "$branch" "$url" "$dstdir/$dst" || perror "Could not clone $url branch $branch"