diff options
author | merakor <cem@ckyln.com> | 2020-08-03 15:52:29 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-08-03 15:52:29 +0000 |
commit | c060d828bfde3cc13dd79efcbb55aadfdcce4ecc (patch) | |
tree | 5c8ee2ff63ba6b107d5529d8ee70007ad2476ff1 /src/cpt-checksum | |
parent | c6d00eaff2188ce651945a79fae7d4aafcf050ec (diff) | |
download | cpt-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-checksum')
-rwxr-xr-x | src/cpt-checksum | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpt-checksum b/src/cpt-checksum index 2d303d3..63a567b 100755 --- a/src/cpt-checksum +++ b/src/cpt-checksum @@ -10,6 +10,8 @@ case "$1" in '') set -- "${PWD##*/}"; export CPT_PATH=${PWD%/*}:$CPT_PATH ;; esac +create_cache + for pkg; do pkg_lint "$pkg" c; done for pkg; do pkg_sources "$pkg" c; done |