aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-11 06:16:43 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-11 06:16:43 +0000
commit1f7805df73d497e7c13a5ae2f4c614b18929e46c (patch)
tree0c0f0e9d5a457fbc1d01c0aef0acd7cd7f1bd2ef /kiss
parent76d5c7cd03721d83a581cbc4064c6763d7464f56 (diff)
downloadcpt-1f7805df73d497e7c13a5ae2f4c614b18929e46c.tar.gz
kiss: clean up
FossilOrigin-Name: 4dc2a39a1d9ae9a8815b9a3b2fc7c349a61c13cb7d6c74d83a79cb7df47c3aa4
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiss b/kiss
index da89969..8242c5b 100755
--- a/kiss
+++ b/kiss
@@ -148,11 +148,12 @@ pkg_extract() {
|| die "[$1] Couldn't extract ${src##*/}"
;;
- # Local source.
*)
+ # Local file.
if [ -f "$repo_dir/$src" ]; then
cp -f "$repo_dir/$src" .
+ # Remote file.
elif [ -f "$src_dir/$1/${src##*/}" ]; then
cp -f "$src_dir/$1/${src##*/}" .