summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/get.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/get.sh b/include/get.sh
index 959bdd6e..e3e4c311 100644
--- a/include/get.sh
+++ b/include/get.sh
@@ -53,11 +53,9 @@ fetch_project()
clone_project()
{
- loc="$XBMK_CACHE/clone/${url#*://}"
- if [ "$XBMK_CACHE_MIRROR" = "y" ]; then
- loc="$XBMK_CACHE/mirror/${url#*://}"
- fi
-
+ # if loc is blank, don't create a target
+ # directory; just update the caches
+ loc=""
if singletree "$project"; then
loc="src/$project"
fi