aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-download
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-08-03 15:52:29 +0000
committermerakor <cem@ckyln.com>2020-08-03 15:52:29 +0000
commitc060d828bfde3cc13dd79efcbb55aadfdcce4ecc (patch)
tree5c8ee2ff63ba6b107d5529d8ee70007ad2476ff1 /src/cpt-download
parentc6d00eaff2188ce651945a79fae7d4aafcf050ec (diff)
downloadcpt-c060d828bfde3cc13dd79efcbb55aadfdcce4ecc.tar.gz
cpt: create caches manually for each script that needs it
This makes sure we don't create unnecessary cache directories. We can source the library without creating directories now. FossilOrigin-Name: 8d9a38a33265e7a597375bb2ef4aa2263e110fb06c9b5df948d46a64c9b23e95
Diffstat (limited to 'src/cpt-download')
-rwxr-xr-xsrc/cpt-download1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpt-download b/src/cpt-download
index da0a692..19c4732 100755
--- a/src/cpt-download
+++ b/src/cpt-download
@@ -13,4 +13,5 @@ case "$1" in
'') set -- "${PWD##*/}"; export CPT_PATH=${PWD%/*}:$CPT_PATH
esac
+create_cache
for pkg; do pkg_sources "$pkg"; done